mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 00:11:06 +00:00
correcting an error message
This commit is contained in:
parent
f22f1af891
commit
1223e04e05
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -913,7 +913,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
|
||||||
/* prefix ++ */
|
/* prefix ++ */
|
||||||
if (exprs[0]->expression.vtype != TYPE_FLOAT) {
|
if (exprs[0]->expression.vtype != TYPE_FLOAT) {
|
||||||
ast_type_to_string(exprs[0], ty1, sizeof(ty1));
|
ast_type_to_string(exprs[0], ty1, sizeof(ty1));
|
||||||
parseerror(parser, "invalid type for prefix increment: %s", ty1);
|
parseerror(parser, "invalid type for suffix increment: %s", ty1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (op->id == opid3('S','+','+')) {
|
if (op->id == opid3('S','+','+')) {
|
||||||
|
|
Loading…
Reference in a new issue