reclassify_token should only deal with tokens < TOKEN_START... should fix #113

This commit is contained in:
Wolfgang Bumiller 2013-06-16 09:52:49 +02:00
parent a3e1342bdb
commit e6bb7697f9

View file

@ -1810,6 +1810,8 @@ static bool parser_close_paren(parser_t *parser, shunt *sy)
static void parser_reclassify_token(parser_t *parser)
{
size_t i;
if (parser->tok >= TOKEN_START)
return;
for (i = 0; i < operator_count; ++i) {
if (!strcmp(parser_tokval(parser), operators[i].op)) {
parser->tok = TOKEN_OPERATOR;