aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-08 12:48:44 +0100
committergingerBill <bill@gingerbill.org>2021-08-08 12:48:44 +0100
commit5fd64f48eed57350e6c3fe6203915dfc68452b08 (patch)
treef90f91b5aefeacdc7cf365ef75cecaf71a71381d /src/parser.cpp
parenta3b71268758ac93e2d46f8b3d161d5315c4c8295 (diff)
Minor procedure rename
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 677db1dad..931563986 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -4605,7 +4605,7 @@ ParseFileError init_ast_file(AstFile *f, String fullpath, TokenPos *err_pos) {
zero_item(&f->tokenizer);
f->tokenizer.curr_file_id = f->id;
- TokenizerInitError err = init_tokenizer(&f->tokenizer, f->fullpath, tokenizer_flags);
+ TokenizerInitError err = init_tokenizer_from_fullpath(&f->tokenizer, f->fullpath, tokenizer_flags);
if (err != TokenizerInit_None) {
switch (err) {
case TokenizerInit_Empty: