cgen: temporary headers fix
parent
1275241133
commit
f59c9133da
|
@ -435,7 +435,7 @@ fn (g mut Gen) stmt(node ast.Stmt) {
|
||||||
// #include etc
|
// #include etc
|
||||||
typ := it.val.all_before(' ')
|
typ := it.val.all_before(' ')
|
||||||
if typ in ['include', 'define'] {
|
if typ in ['include', 'define'] {
|
||||||
g.includes.writeln('#$it.val')
|
g.definitions.writeln('#$it.val')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast.Import {}
|
ast.Import {}
|
||||||
|
|
Loading…
Reference in New Issue