aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/error_helper/error_helper.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/error_helper/error_helper.h
parentf79290084948f3cf140395c270c07cf29ca58e8d (diff)
fixed multiple variable definition bug
tried to implement import
Diffstat (limited to 'src/compiler/error_helper/error_helper.h')
-rw-r--r--src/compiler/error_helper/error_helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/error_helper/error_helper.h b/src/compiler/error_helper/error_helper.h
index 3a78c7c..c118fa9 100644
--- a/src/compiler/error_helper/error_helper.h
+++ b/src/compiler/error_helper/error_helper.h
@@ -1,6 +1,7 @@
#pragma once
+#include <compiler/source_code/source_code.h>
#include <utils/types.h>
-extern void printError(char const *error, SourceCode code, char const *begin,
+extern void printError(char const *error, SourceCode *code, char const *begin,
char const *end, ...);