Fix renamed token type.

This commit is contained in:
Bob Nystrom
2015-09-19 10:09:40 -07:00
parent 46a33a412d
commit b08cadefc0

View File

@ -779,7 +779,7 @@ static void readString(Parser* parser)
if (nextChar(parser) != '(') lexError(parser, "Expect '(' after '%'.");
wrenIntBufferWrite(parser->vm, &parser->parens, 1);
type = TOKEN_STRING_TEMPLATE;
type = TOKEN_TEMPLATE;
break;
}