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
commit10abf930df47a214ef2d66a6727c9e159093bc57 (patch)
tree2bedd5ddfc79ccad67baf651ef94e9c78ccdbc8f /src/urweb.lex
parente0f7a1d2e4ed4d0a264f042de8698fe98bc3b88c (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];