ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX"
This commit is contained in:
parent
41eb300ff6
commit
7b2294edff
@ -10032,7 +10032,7 @@ raise_error_unexpected_syntax(int token)
|
|||||||
char msg[64];
|
char msg[64];
|
||||||
int l;
|
int l;
|
||||||
|
|
||||||
l = sprintf(msg, "%s unexpected", tokname(lasttoken));
|
l = sprintf(msg, "unexpected %s", tokname(lasttoken));
|
||||||
if (token >= 0)
|
if (token >= 0)
|
||||||
sprintf(msg + l, " (expecting %s)", tokname(token));
|
sprintf(msg + l, " (expecting %s)", tokname(token));
|
||||||
raise_error_syntax(msg);
|
raise_error_syntax(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user