mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
a more verbose error
This commit is contained in:
parent
4b619ce1cd
commit
2da37129d7
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -3682,7 +3682,7 @@ skipvar:
|
|||
|
||||
if (parser->tok != '{') {
|
||||
if (parser->tok != '=') {
|
||||
parseerror(parser, "missing semicolon or initializer");
|
||||
parseerror(parser, "missing semicolon or initializer, got: `%s`", parser_tokval(parser));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue