error CS1002: ; expected - please help

this is the script

[System.Serializable]
public enum Side { Left.Mid,Right}
public class Character : MonoBehaviour
{
public Side m_Side = Side.Mid;
float NewXpos = of;
public bool SwipeLeft;
public bool SwipeRight;
public float XValue;
private CharacterController m_char;

// Start is called before the first frame update
void Start()
{
    m_char = GetComponent<CharacterController>();
    transpform.poistion = Vector3.zero;
}

// Update is called once per frame
void Update()
{
    SwipeLeft = Input.GetKeyDown(KeyCode.'A') ll Input.GetKeyDown(KeyCode.'LeftArrow');
    SwipeRight = Input.GetKeyDown(KeyCode.'D') ll Input.GetKeyDown(KeyCode.'RightArrow');
    if (SwipeLeft)
    {
        if (m_Side == Side.Mid)
        {
            NewXpos = XValue;
            m_Side = Side.Left;
        }
        else if (m_Side == Side.Right)
        {
            NewXpos = 0;
            m_Side = Side.Mid;

        }
    }
    else if (SwipeRight)
    {
        if (m_Side == Side.Mid)
        {
            NewXpos = XValue;
            m_Side = Side.Right;

        }
        else if (m.Side == Side.Left)
        {
            NewXpos = 0;
            m_Side = Side.Mid;
        }
    }
    m_char.Move((NewXpos - transform.position.x) * vector3.Right);
   }
}

I editting your question, it was a bit of a mess. Please remember to respect the time of people who are trying to help you add the appropriate information that is necessary and take the time to properly format your question. With the limited information here I will try to answer the best I can.

using UnityEngine;

[System.Serializable]
public enum Side { Left, Mid, Right }

public class Character : MonoBehaviour
{
    public Side m_Side = Side.Mid;
    float NewXpos = 0f;
    public bool SwipeLeft;
    public bool SwipeRight;
    public float XValue;
    private CharacterController m_char;

    // Start is called before the first frame update
    void Start()
    {
        m_char = GetComponent<CharacterController>();
        transform.position = Vector3.zero;
    }

    // Update is called once per frame
    void Update()
    {
        SwipeLeft = Input.GetKeyDown(KeyCode.A) || Input.GetKeyDown(KeyCode.LeftArrow);
        SwipeRight = Input.GetKeyDown(KeyCode.D) || Input.GetKeyDown(KeyCode.RightArrow);
        
        if (SwipeLeft)
        {
            if (m_Side == Side.Mid)
            {
                NewXpos = XValue;
                m_Side = Side.Left;
            }
            else if (m_Side == Side.Right)
            {
                NewXpos = 0;
                m_Side = Side.Mid;
            }
        }
        else if (SwipeRight)
        {
            if (m_Side == Side.Mid)
            {
                NewXpos = XValue;
                m_Side = Side.Right;
            }
            else if (m_Side == Side.Left)
            {
                NewXpos = 0;
                m_Side = Side.Mid;
            }
        }
        m_char.Move((NewXpos - transform.position.x) * Vector3.right);
    }
}

Here are the issues that were fixed:

Changed Left.Mid,Right to Left, Mid, Right in the Side enum declaration.

Changed of to 0f in the declaration of NewXpos.

Removed extra single quotes in KeyCode.A, KeyCode.LeftArrow, KeyCode.D, and KeyCode.RightArrow.

Changed ll to || for the logical OR operator.

Corrected the spelling of transpform.poistion to transform.position.

Changed vector3.Right to Vector3.right.