diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-11-25 08:21:09 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-11-25 08:21:09 -0500 |
commit | b2b29ea1e208836b21842ce2126fb9fd8521247e (patch) | |
tree | e24685881c80d411865d4c6f28e10e6b133c14b1 /src | |
parent | f3e50f123c33c26038b601475eeaa619526ad7ab (diff) |
Tiny lexer change for SML/NJ compatibility (suggested by Ziv Scully)
Diffstat (limited to 'src')
-rw-r--r-- | src/urweb.lex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urweb.lex b/src/urweb.lex index 0d316ed2..195fd735 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -177,7 +177,7 @@ fun unescape loc s = %s COMMENT STRING CHAR XML XMLTAG; id = [a-z_][A-Za-z0-9_']*; -xmlid = [A-Za-z][A-Za-z0-9-_]*; +xmlid = [A-Za-z][A-Za-z0-9_-]*; cid = [A-Z][A-Za-z0-9_]*; ws = [\ \t\012\r]; intconst = [0-9]+; |