aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/lexer.c
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-08 21:20:00 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-08 21:20:00 +0330
commit40c7100791e9cb637d83d3a4970f6f383314ed31 (patch)
treeea4cb06975c60231ff33bc5e65f5d694c9d6f864 /src/compiler/lexer.c
parent20ff73d84b85db77aecb2171ce4d0e13253cccfd (diff)
add a way for member function
Diffstat (limited to 'src/compiler/lexer.c')
-rw-r--r--src/compiler/lexer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/lexer.c b/src/compiler/lexer.c
index f3a5d0e..79eeff0 100644
--- a/src/compiler/lexer.c
+++ b/src/compiler/lexer.c
@@ -62,6 +62,7 @@ const char *LEXER_TOKEN_STRINGS[] = {
"LEXER_TOKEN_SYMBOL_DEREFERENCE",
"LEXER_TOKEN_SYMBOL_ACCESS",
+ "LEXER_TOKEN_SYMBOL_FUNCTION_CALL",
"LEXER_TOKEN_SYMBOL_PLUS",
"LEXER_TOKEN_SYMBOL_MINUS",
@@ -474,6 +475,7 @@ lexerPushClear(LexerNodeArray *array, size_t *array_size, char const *iter,
case LEXER_TOKEN_SYMBOL_ADDRESS:
case LEXER_TOKEN_SYMBOL_DEREFERENCE:
case LEXER_TOKEN_SYMBOL_ACCESS:
+ case LEXER_TOKEN_SYMBOL_FUNCTION_CALL:
case LEXER_TOKEN_SYMBOL_LOGICAL_NOT:
case LEXER_TOKEN_SYMBOL_LOGICAL_AND:
case LEXER_TOKEN_SYMBOL_LOGICAL_OR: