summaryrefslogtreecommitdiff
path: root/src/urweb.lex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-09-16 15:34:50 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-09-16 15:34:50 -0400
commit893d10120856436525390f335060f095b754fd38 (patch)
tree2bedd5ddfc79ccad67baf651ef94e9c78ccdbc8f /src/urweb.lex
parent5ee58ab372255fea4b1180b7af3c7fc5485ccb1c (diff)
Fix typing of cut operators; fix lexing of XML comments
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 27af5bdd..0ee09cad 100644
--- a/src/urweb.lex
+++ b/src/urweb.lex
@@ -172,7 +172,7 @@ cid = [A-Z][A-Za-z0-9_]*;
ws = [\ \t\012];
intconst = [0-9]+;
realconst = [0-9]+\.[0-9]*;
-notags = [^<{\n(]+;
+notags = ([^<{\n(]|(\([^\*]))+;
xcom = ([^\-]|(-[^\-]))+;
oint = [0-9][0-9][0-9];
xint = x[0-9a-fA-F][0-9a-fA-F];