From: Brendan Hansen Date: Tue, 20 Apr 2021 13:17:38 +0000 (-0500) Subject: tiny bugfix X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=f52685bd5b0b386610dc7c774e83831441f537bf;p=onyx.git tiny bugfix --- 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) {