mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
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];
|
||||
int l;
|
||||
|
||||
l = sprintf(msg, "%s unexpected", tokname(lasttoken));
|
||||
l = sprintf(msg, "unexpected %s", tokname(lasttoken));
|
||||
if (token >= 0)
|
||||
sprintf(msg + l, " (expecting %s)", tokname(token));
|
||||
raise_error_syntax(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user