diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-25 22:22:40 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-25 22:22:40 +0330 |
commit | dc26ae0b913ff49ecbf0f653b4baffa7a37f2303 (patch) | |
tree | 155ab12a41b09f3852a7a7cf10f0fabf6ab467f4 /src/compiler/lexer.c | |
parent | 833fbb09640e46f7e8968a1a724baf25f2a219fc (diff) |
add better time printing
Diffstat (limited to 'src/compiler/lexer.c')
-rw-r--r-- | src/compiler/lexer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/lexer.c b/src/compiler/lexer.c index 8cf0cc3..b4e00b3 100644 --- a/src/compiler/lexer.c +++ b/src/compiler/lexer.c @@ -308,7 +308,7 @@ RETURN_SUCCESS: return result; } -void lexerPushClear(LexerNodeArray *array, size_t *array_size, char *iter, +inline __attribute__((always_inline)) void lexerPushClear(LexerNodeArray *array, size_t *array_size, char *iter, char **node_str_begin, LexerToken *node_token, LexerToken token) { switch (*node_token) { @@ -480,7 +480,7 @@ bool isSpace(char c) { } } -extern bool isString(char c) { +bool isString(char c) { switch (c) { case '\'': case '\"': |