cgen: remove a space

pull/4116/head
Alexander Medvednikov 2020-03-25 23:57:46 +01:00
parent 25ee30d8cb
commit aa34d3a4c4
1 changed files with 1 additions and 1 deletions

View File

@ -2099,7 +2099,7 @@ fn (g mut Gen) call_expr(it ast.CallExpr) {
g.insert_before('$styp $var_name = ') g.insert_before('$styp $var_name = ')
} }
g.writeln(';') // or') g.writeln(';') // or')
g.writeln('if ( !${var_name}.ok) {') g.writeln('if (!${var_name}.ok) {')
g.writeln('string err = ${var_name}.v_error;') g.writeln('string err = ${var_name}.v_error;')
g.writeln('int errcode = ${var_name}.ecode;') g.writeln('int errcode = ${var_name}.ecode;')
g.stmts(it.or_block.stmts) g.stmts(it.or_block.stmts)