aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/lexer/lexer.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-25 19:47:29 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-25 19:47:29 +0330
commitc409b8aaf6b6f63bd68a3356e146ab80b2ec8c4b (patch)
tree65ea5801fd910fc6bcff3f2e8f06b5fd7d249c78 /src/compiler/lexer/lexer.h
parentf79290084948f3cf140395c270c07cf29ca58e8d (diff)
fixed multiple variable definition bug
tried to implement import
Diffstat (limited to 'src/compiler/lexer/lexer.h')
-rw-r--r--src/compiler/lexer/lexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/lexer/lexer.h b/src/compiler/lexer/lexer.h
index 8d88a90..66db1cf 100644
--- a/src/compiler/lexer/lexer.h
+++ b/src/compiler/lexer/lexer.h
@@ -47,7 +47,7 @@ typedef struct Nodes {
extern void printNodes(Nodes nodes);
extern void deleteNodes(Nodes nodes);
-extern Nodes lexer(char const *const restrict code);
+extern Nodes lexer(SourceCode *sourceCode,size_t sourceIndex);
extern void push_if_not_empty(Node **restrict nodes,
size_t *restrict nodes_size,