mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 06:08:41 +01:00
Fix "%" in error message.
This commit is contained in:
@ -782,7 +782,7 @@ static void readString(Parser* parser)
|
||||
if (parser->numParens < MAX_INTERPOLATION_NESTING)
|
||||
{
|
||||
// TODO: Allow format string.
|
||||
if (nextChar(parser) != '(') lexError(parser, "Expect '(' after '%'.");
|
||||
if (nextChar(parser) != '(') lexError(parser, "Expect '(' after '%%'.");
|
||||
|
||||
parser->parens[parser->numParens] = 1;
|
||||
parser->numParens++;
|
||||
|
||||
Reference in New Issue
Block a user