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 '(':
|
case '(':
|
||||||
if (ChkCall(nd)) {
|
if (ChkCall(nd)) {
|
||||||
if (nd->nd_type != 0) {
|
if (nd->nd_type != 0) {
|
||||||
node_error(nd, "procedure call expected");
|
node_error(nd, "illegal function call");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
CodeCall(nd);
|
CodeCall(nd);
|
||||||
|
|
Loading…
Add table
Reference in a new issue