cgen: temporary headers fix

pull/4264/head
Alexander Medvednikov 2020-04-06 14:22:56 +02:00
parent 1275241133
commit f59c9133da
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ fn (g mut Gen) stmt(node ast.Stmt) {
// #include etc
typ := it.val.all_before(' ')
if typ in ['include', 'define'] {
g.includes.writeln('#$it.val')
g.definitions.writeln('#$it.val')
}
}
ast.Import {}