From f52685bd5b0b386610dc7c774e83831441f537bf Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 20 Apr 2021 08:17:38 -0500 Subject: [PATCH] tiny bugfix --- src/onyxc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/onyxc.c b/src/onyxc.c index 5c819621..a13b5d42 100644 --- a/src/onyxc.c +++ b/src/onyxc.c @@ -200,6 +200,8 @@ static void emit_file_contents(OnyxCFile* c_file, AstFileContents* fc) { fc->addr = lfi.number; fc->size = length - 1; + + token_toggle_end(fc->filename); } void emit_c_entity(Entity *ent) { -- 2.25.1