summaryrefslogtreecommitdiff
path: root/src/compiler/lexer.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-24 19:37:45 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-24 19:37:45 +0330
commitcaf6ecd9344b13c443435f94c3c5b8ccf717e853 (patch)
tree881708e5e0b49067fa8e43ee0c76df5a29431602 /src/compiler/lexer.h
parentcfc289f11c09aad28482204255934742e0f3f87f (diff)
some clean ups
Diffstat (limited to 'src/compiler/lexer.h')
-rw-r--r--src/compiler/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/lexer.h b/src/compiler/lexer.h
index 71d9640..862efe7 100644
--- a/src/compiler/lexer.h
+++ b/src/compiler/lexer.h
@@ -138,7 +138,9 @@ typedef struct LexerNodeArray {
extern const LexerNodeArray LEXER_NODE_ARRAY_ERROR;
extern bool lexerNodeArrayIsError(LexerNodeArray array);
+#ifdef PRINT_COMPILE_TREE
extern void lexerNodeArrayPrint(LexerNodeArray array);
+#endif
extern void lexerNodeArrayDestroy(LexerNodeArray array);
extern LexerNodeArray lexer(char *str);