better error message
This commit is contained in:
parent
99611d287b
commit
a22ab5c7b7
@ -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…
x
Reference in New Issue
Block a user