summaryrefslogtreecommitdiff
path: root/src/compiler/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/lexer.c')
-rw-r--r--src/compiler/lexer.c4
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 '\"':