mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Wrote some small tests
This commit is contained in:
@@ -255,7 +255,7 @@ static Opcode string(Parser* parser, Node** nodeHandle) {
|
||||
error(parser, parser->previous, buffer);
|
||||
}
|
||||
|
||||
emitNodeLiteral(nodeHandle, TO_STRING_LITERAL(copyString(parser->previous.lexeme, length)));
|
||||
emitNodeLiteral(nodeHandle, TO_STRING_LITERAL(copyString(parser->previous.lexeme, length), length));
|
||||
return OP_EOF;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user