From ab221774a414bdcc3fd6b8cae773c1489b88b051 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 14 Aug 2010 02:35:13 -0400 Subject: [PATCH 1/1] Add carriage return to string lexer. --- parse/l5.lex | 1 + 1 file changed, 1 insertion(+) diff --git a/parse/l5.lex b/parse/l5.lex index 32665a6..667638c 100644 --- a/parse/l5.lex +++ b/parse/l5.lex @@ -191,6 +191,7 @@ quote = [\"]; "\\\\" => (addString "\\" ; lex() ); "\\n" => (addString "\n" ; lex() ); + "\\r" => (addString "\r" ; lex() ); "\\t" => (addString "\t" ; lex() ); "\\\"" => (addString "\t" ; lex() ); "\\". => (ErrorMsg.error (ParseState.ext (yypos,yypos)) -- 2.43.0