summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7e5f93f..bba3a36 100644
--- a/main.c
+++ b/main.c
@@ -39,11 +39,10 @@ int main(int argc, char **argv) {
}
fclose(in);
- err_filename = in_filename;
Identifiers file_idents;
idents_create(&file_idents);
Tokenizer t;
- tokr_create(&t, &file_idents);
+ tokr_create(&t, &file_idents, in_filename);
if (!tokenize_string(&t, contents)) {
err_fprint(TEXT_IMPORTANT("Errors occured while preprocessing.\n"));
return EXIT_FAILURE;