better error message
This commit is contained in:
parent
99611d287b
commit
a22ab5c7b7
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ WalkStat(nd, exit_label)
|
|||
case '(':
|
||||
if (ChkCall(nd)) {
|
||||
if (nd->nd_type != 0) {
|
||||
node_error(nd, "procedure call expected");
|
||||
node_error(nd, "illegal function call");
|
||||
break;
|
||||
}
|
||||
CodeCall(nd);
|
||||
|
|
Loading…
Reference in a new issue