summaryrefslogtreecommitdiff
path: root/src/urweb.lex
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-05-30 17:33:12 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-05-30 17:33:12 -0400
commita3e471e933945dcfb54873cb20c691a193b55671 (patch)
tree70ba7ffe26a589f0b97aec7016c171261c54c9e2 /src/urweb.lex
parent5ca6148aaf7b930a8868d0543f1a307d40532243 (diff)
parent359c1ca68f97181dada92e28440c7336fc88fff5 (diff)
Merge branch 'upstream' into dfsg_clean20160515+dfsg
Diffstat (limited to 'src/urweb.lex')
-rw-r--r--src/urweb.lex1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/urweb.lex b/src/urweb.lex
index ca45eb6d..368b9f1b 100644
--- a/src/urweb.lex
+++ b/src/urweb.lex
@@ -224,6 +224,7 @@ xint = x[0-9a-fA-F][0-9a-fA-F];
<STRING,CHAR> "\\\"" => (str := #"\"" :: !str; continue());
<STRING,CHAR> "\\'" => (str := #"'" :: !str; continue());
<STRING,CHAR> "\\n" => (str := #"\n" :: !str; continue());
+<STRING,CHAR> "\\r" => (str := #"\r" :: !str; continue());
<STRING,CHAR> "\\\\" => (str := #"\\" :: !str; continue());
<STRING,CHAR> "\\t" => (str := #"\t" :: !str; continue());
<STRING,CHAR> "\n" => (newline yypos;