parser: wrong `else`
parent
327314c2c3
commit
e53bb6a9d4
|
@ -282,10 +282,9 @@ pub fn (p mut Parser) call_expr() (ast.CallExpr,types.Type) {
|
|||
if p.tok.kind == .comma {
|
||||
p.error('too many arguments in call to `$fn_name`')
|
||||
}
|
||||
else {
|
||||
}else{
|
||||
p.error('unknown function `$fn_name`')
|
||||
}
|
||||
}
|
||||
p.check(.rpar)
|
||||
node := ast.CallExpr{
|
||||
name: fn_name
|
||||
|
|
Loading…
Reference in New Issue