summaryrefslogtreecommitdiff
path: root/src/compiler/lexer.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-27 07:11:18 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-27 07:11:18 +0330
commit4c7d3c1d1e71823efc47a78ef8a608ee1656b035 (patch)
tree7d76c8d28af997f13b24e80733b2580ea69ed0ae /src/compiler/lexer.h
parent8712565a385fcba4734f4d89ffb3aa40a30b4120 (diff)
add dereferencing
Diffstat (limited to 'src/compiler/lexer.h')
-rw-r--r--src/compiler/lexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/lexer.h b/src/compiler/lexer.h
index 1ebe405..5e2496b 100644
--- a/src/compiler/lexer.h
+++ b/src/compiler/lexer.h
@@ -62,6 +62,7 @@ typedef enum LexerToken {
LEXER_TOKEN_SYMBOL_SMALLER_OR_EQUAL,
LEXER_TOKEN_SYMBOL_POINTER,
LEXER_TOKEN_SYMBOL_ADDRESS,
+ LEXER_TOKEN_SYMBOL_DEREFERENCE,
LEXER_TOKEN_NONE,
} LexerToken;
@@ -105,5 +106,5 @@ extern void lexerPushClear(LexerNodeArray *array, size_t *array_size,
extern bool isIdentifier(char c);
extern bool isNumber(char c);
extern bool isSymbol(char c);
-extern bool isSingleSymbol(char c);
+extern bool isCompleteSymbol(char *str, size_t str_size);
extern bool isSpace(char c);