cgen: inline
parent
3f480a358e
commit
77d41d03f5
|
@ -334,8 +334,12 @@ fn (g mut Gen) stmt(node ast.Stmt) {
|
|||
g.gen_assign_stmt(it)
|
||||
}
|
||||
ast.Attr {
|
||||
if it.name == 'inline' {
|
||||
g.writeln(it.name)
|
||||
} else {
|
||||
g.writeln('//[$it.name]')
|
||||
}
|
||||
}
|
||||
ast.Block {
|
||||
g.writeln('{')
|
||||
g.stmts(it.stmts)
|
||||
|
|
Loading…
Reference in New Issue