mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
wren/compiler: Store value in the correct token. (#923)
This commit is contained in:
@ -717,7 +717,7 @@ static void makeNumber(Parser* parser)
|
||||
{
|
||||
errno = 0;
|
||||
|
||||
parser->current.value = NUM_VAL(strtod(parser->tokenStart, NULL));
|
||||
parser->next.value = NUM_VAL(strtod(parser->tokenStart, NULL));
|
||||
|
||||
if (errno == ERANGE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user