Couple of tiny tweaks.

This commit is contained in:
Bob Nystrom
2016-02-24 06:52:12 -08:00
parent 2c4e497c54
commit 919605b7ba
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -839,8 +839,7 @@ static void readString(Parser* parser)
// TODO: Allow format string.
if (nextChar(parser) != '(') lexError(parser, "Expect '(' after '%%'.");
parser->parens[parser->numParens] = 1;
parser->numParens++;
parser->parens[parser->numParens++] = 1;
type = TOKEN_INTERPOLATION;
break;
}