mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: unknown function error
This commit is contained in:
parent
f87177d34d
commit
327314c2c3
@ -282,8 +282,9 @@ pub fn (p mut Parser) call_expr() (ast.CallExpr,types.Type) {
|
|||||||
if p.tok.kind == .comma {
|
if p.tok.kind == .comma {
|
||||||
p.error('too many arguments in call to `$fn_name`')
|
p.error('too many arguments in call to `$fn_name`')
|
||||||
}
|
}
|
||||||
// }else{
|
else {
|
||||||
// p.error('unknown function `$fn_name`')
|
p.error('unknown function `$fn_name`')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
p.check(.rpar)
|
p.check(.rpar)
|
||||||
node := ast.CallExpr{
|
node := ast.CallExpr{
|
||||||
|
Loading…
Reference in New Issue
Block a user