mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
Remove constant string literal for correction check, use parse_tokval of the current parser state instead. Accidently left it behind from debugging.
This commit is contained in:
parent
2d96b2a3ec
commit
5377835f1e
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -1643,7 +1643,7 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma
|
|||
* other things as well.
|
||||
*/
|
||||
for (i = 0; i < vec_size(parser->correct_variables); i++) {
|
||||
correct = correct_str(parser->correct_variables[i], "ello");
|
||||
correct = correct_str(parser->correct_variables[i], parser_tokval(parser));
|
||||
if (strcmp(correct, parser_tokval(parser))) {
|
||||
break;
|
||||
} else if (correct) {
|
||||
|
|
Loading…
Reference in a new issue