mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: inline
This commit is contained in:
@@ -334,7 +334,11 @@ fn (g mut Gen) stmt(node ast.Stmt) {
|
|||||||
g.gen_assign_stmt(it)
|
g.gen_assign_stmt(it)
|
||||||
}
|
}
|
||||||
ast.Attr {
|
ast.Attr {
|
||||||
g.writeln('//[$it.name]')
|
if it.name == 'inline' {
|
||||||
|
g.writeln(it.name)
|
||||||
|
} else {
|
||||||
|
g.writeln('//[$it.name]')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ast.Block {
|
ast.Block {
|
||||||
g.writeln('{')
|
g.writeln('{')
|
||||||
|
|||||||
Reference in New Issue
Block a user