Messing with tests

This commit is contained in:
2023-08-28 22:44:32 +10:00
parent 308fba1a8c
commit eaad8d5241
5 changed files with 7 additions and 10 deletions

View File

@@ -178,7 +178,6 @@ static Toy_Token makeIntegerOrFloat(Toy_Lexer* lexer) {
static bool isEscapableCharacter(char c) {
switch (c) {
case 'n':
case 'r':
case 't':
case '\\':
case '"':

View File

@@ -281,9 +281,6 @@ static Toy_Opcode string(Toy_Parser* parser, Toy_ASTNode** nodeHandle) {
case 'n':
buffer[strLength++] = '\n';
break;
case 'r':
buffer[strLength++] = '\r';
break;
case 't':
buffer[strLength++] = '\t';
break;