aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/parser.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-11 15:59:43 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-11 15:59:43 +0330
commitfe81eba1c232ab99bcfedf9546a82b06c796b086 (patch)
tree1ddf9d17f14a69c9cbe93cdbb1ef557f812c79d7 /src/compiler/parser.h
parent1a50974b834227190f7de3939db5689bb0702a34 (diff)
some clean ups
Diffstat (limited to 'src/compiler/parser.h')
-rw-r--r--src/compiler/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/parser.h b/src/compiler/parser.h
index 05409fb..0e43c34 100644
--- a/src/compiler/parser.h
+++ b/src/compiler/parser.h
@@ -1,8 +1,8 @@
#pragma once
#include "compiler/lexer.h"
+#include "utils/time.h"
#include "utils/type.h"
-#include <time.h>
typedef enum ParserToken {
PARSER_TOKEN_ROOT,
@@ -200,7 +200,7 @@ void parserNodeDelete(ParserNode *node);
ParserNode *parserFromPath(const char *filePath
#ifdef PRINT_STATISTICS
,
- struct timespec *lexingTime
+ Time *lexingTime
#endif
);
ParserNode *parser(LexerNodeArray lexed);