mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: temporary headers fix
This commit is contained in:
parent
1275241133
commit
f59c9133da
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user