aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/lexer.c
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-09 18:56:19 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-06-09 18:56:19 +0330
commit8dc246166a007c2815f93ff6db535a660b05431c (patch)
treea3747464019316434103fe757a83fbdd990f16ce /src/compiler/lexer.c
parent03e9e1708eada3985529949302f214a223a297c2 (diff)
fix assigning to dereference access in a chain
Diffstat (limited to 'src/compiler/lexer.c')
-rw-r--r--src/compiler/lexer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/lexer.c b/src/compiler/lexer.c
index 43a0850..869f62f 100644
--- a/src/compiler/lexer.c
+++ b/src/compiler/lexer.c
@@ -9,7 +9,6 @@ const char *LEXER_TOKEN_STRINGS[] = {
"LEXER_TOKEN_SYMBOL_CLOSE_CURLY_BRACKET",
"LEXER_TOKEN_SYMBOL_CLOSE_PARENTHESIS",
- "LEXER_TOKEN_SYMBOL_CLOSE_BRACKET",
"LEXER_TOKEN_IDENTIFIER",
"LEXER_TOKEN_BUILTIN",
"LEXER_TOKEN_BUILTIN_CAST",
@@ -73,15 +72,16 @@ const char *LEXER_TOKEN_STRINGS[] = {
"LEXER_TOKEN_KEYWORD_UNDEFINED",
"LEXER_TOKEN_SYMBOL_FUNCTION_ARROW",
- "LEXER_TOKEN_SYMBOL_POINTER",
"LEXER_TOKEN_KEYWORD_STRUCT",
- "LEXER_TOKEN_SYMBOL_CLOSE_BRACKET_LEFT",
"LEXER_TOKEN_SYMBOL_DEREFERENCE",
+ "LEXER_TOKEN_SYMBOL_CLOSE_BRACKET",
"LEXER_TOKEN_SYMBOL_ACCESS",
"LEXER_TOKEN_SYMBOL_FUNCTION_CALL",
"LEXER_TOKEN_SYMBOL_PLUS",
+ "LEXER_TOKEN_SYMBOL_CLOSE_BRACKET_LEFT",
+ "LEXER_TOKEN_SYMBOL_POINTER",
"LEXER_TOKEN_SYMBOL_MINUS",
"LEXER_TOKEN_SYMBOL_ADDRESS",
"LEXER_TOKEN_SYMBOL_LOGICAL_NOT",