aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-09-19 21:59:35 +0200
committerHimbeer <himbeer@disroot.org>2024-09-19 22:09:49 +0200
commit68effb746fc33f90b6fe537893f18ac0aac4e7f0 (patch)
tree9906b31bd5866014cf9c74fbd7ee6c40faeb048a /src/main.c
parenta278c311ee4a76c5855d4a8339c15c054a6eca19 (diff)
Store token locations and include them in parsing error messages
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c0cee11..f318c52 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,7 +41,7 @@ main(int argc, char *argv[])
return EXIT_ABNORMAL;
}
- lex_init(&lexer, in);
+ lex_init(&lexer, in, path);
parse(&lexer, &ast);
lex_finish(&lexer);
}