]> Joshua Wise's Git repositories - snipe.git/commitdiff
Add carriage return to string lexer.
authorJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 14 Aug 2010 06:35:13 +0000 (02:35 -0400)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 14 Aug 2010 06:35:13 +0000 (02:35 -0400)
parse/l5.lex

index 32665a64d5c69b2fefb3d0daaa76140e17bd70d4..667638cbd5e07f122c5bedc60546982404f200be 100644 (file)
@@ -191,6 +191,7 @@ quote = [\"];
 
 <STRING> "\\\\"       => (addString "\\" ; lex() );
 <STRING> "\\n"        => (addString "\n" ; lex() );
+<STRING> "\\r"        => (addString "\r" ; lex() );
 <STRING> "\\t"        => (addString "\t" ; lex() );
 <STRING> "\\\""       => (addString "\t" ; lex() );
 <STRING> "\\".        => (ErrorMsg.error (ParseState.ext (yypos,yypos))
This page took 0.02147 seconds and 4 git commands to generate.