mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
remove unnecessary empty lines in cgen
This commit is contained in:
@ -1114,10 +1114,10 @@ fn (p mut Parser) fn_call_args(f mut Fn) {
|
||||
p.gen('}[0] ')
|
||||
}
|
||||
else if exp_ptr && expected == got + '*' {
|
||||
$if !tinyc {
|
||||
expr := p.cgen.cur_line[ph..]
|
||||
// TODO hack
|
||||
// If current expression is a func call, generate the array hack
|
||||
$if !tinyc {
|
||||
if expr.contains('(') {
|
||||
//println('fn hack expr=$expr')
|
||||
p.cgen.set_placeholder(ph, '& /*113 e="$expected" g="$got"*/ ($got[]){')
|
||||
|
Reference in New Issue
Block a user