Still need to advance into that string token...

This commit is contained in:
K. Lange 2022-07-13 22:13:39 +09:00
parent 77c38ea7cd
commit e22410d81b

View File

@ -3598,6 +3598,7 @@ static int maybeSingleExpression() {
/* Regardless, restore the scanner/parser so we can actually parse the string. */
krk_rewindScanner(rewind.oldScanner);
parser = rewind.oldParser;
advance();
/* Parse the string. */
string(EXPR_NORMAL);
/* If we did see end of input, it's a simple string expression. */