mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
r is a bad character to escape
This commit is contained in:
@@ -273,9 +273,6 @@ static Toy_Opcode string(Toy_Parser* parser, Toy_ASTNode** nodeHandle) {
|
||||
|
||||
//unescape based on the character
|
||||
switch(parser->previous.lexeme[++i]) {
|
||||
case 'r':
|
||||
buffer[strLength++] = '\r';
|
||||
break;
|
||||
case 'n':
|
||||
buffer[strLength++] = '\n';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user