From 90f91a234a36d7865dfdb2d72bc7abd635fe112d Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 31 Jan 2023 12:38:42 +0000 Subject: [PATCH] r is a bad character to escape --- source/toy_parser.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/toy_parser.c b/source/toy_parser.c index 81f9706..8c4e79a 100644 --- a/source/toy_parser.c +++ b/source/toy_parser.c @@ -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;