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:
@ -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 {}
|
||||||
|
Reference in New Issue
Block a user