summaryrefslogtreecommitdiff
path: root/src/urweb.lex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-12 14:51:10 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-12 14:51:10 -0500
commit0a168e5f39165bd9e462813866c9a25dc2d6b688 (patch)
tree4c48413e12978d861257f204e8849034f2447c07 /src/urweb.lex
parent84e471e64566698a5489810836b6ec80824d3e46 (diff)
Fix lexing of string literals in XML; treat EError as impure in MonoReduce
Diffstat (limited to 'src/urweb.lex')
-rw-r--r--src/urweb.lex2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urweb.lex b/src/urweb.lex
index 4e572009..b6916cb9 100644
--- a/src/urweb.lex
+++ b/src/urweb.lex
@@ -290,7 +290,7 @@ notags = [^<{\n]+;
("Expected float, received: " ^ yytext);
continue ()));
<XMLTAG> "\"" => (YYBEGIN STRING;
- xmlString := true;
+ xmlString := true; strEnder := #"\"";
strStart := yypos; str := []; continue ());
<XMLTAG> "{" => (YYBEGIN INITIAL;