aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/error_helper
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-26 05:01:30 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-26 05:01:30 +0330
commit3b5df1794867ccffc56ac5633af6c77a0b3952c8 (patch)
tree83810bba9ad9645946282c05b4bd6efd61f62d8b /src/compiler/error_helper
parentc409b8aaf6b6f63bd68a3356e146ab80b2ec8c4b (diff)
some speed improvement
Diffstat (limited to 'src/compiler/error_helper')
-rw-r--r--src/compiler/error_helper/error_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/error_helper/error_helper.c b/src/compiler/error_helper/error_helper.c
index 2a9b209..42e3745 100644
--- a/src/compiler/error_helper/error_helper.c
+++ b/src/compiler/error_helper/error_helper.c
@@ -21,7 +21,7 @@ void printError(char const *error, SourceCode *sourceCode, char const *begin,
}
}
if (code == NULL) {
- fprintf(stderr, "Bad Error: the error is in no source code");
+ fprintf(stderr, "Bad Error: the error is in no source code\n");
return;
}