projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f36625
)
tiny bugfix
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Tue, 20 Apr 2021 13:17:38 +0000
(08:17 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Tue, 20 Apr 2021 13:17:38 +0000
(08:17 -0500)
src/onyxc.c
patch
|
blob
|
history
diff --git
a/src/onyxc.c
b/src/onyxc.c
index 5c8196212fdfa31d38f6bf4067aafc7998f3e32c..a13b5d42236e40ff9eafb21568f919aacb424ce6 100644
(file)
--- 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) {