Expression statements and assignemnts are working

This commit is contained in:
2022-08-14 19:57:15 +01:00
parent e9ab6f3f96
commit 4aa6f75ea7
7 changed files with 112 additions and 50 deletions

View File

@@ -55,6 +55,7 @@ typedef enum TokenType {
TOKEN_MODULO_ASSIGN,
TOKEN_PLUS_PLUS,
TOKEN_MINUS_MINUS,
TOKEN_ASSIGN,
//logical operators
TOKEN_PAREN_LEFT,
@@ -74,7 +75,6 @@ typedef enum TokenType {
TOKEN_OR,
//other operators
TOKEN_ASSIGN,
TOKEN_COLON,
TOKEN_SEMICOLON,
TOKEN_COMMA,