From b2b29ea1e208836b21842ce2126fb9fd8521247e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 25 Nov 2014 08:21:09 -0500 Subject: Tiny lexer change for SML/NJ compatibility (suggested by Ziv Scully) --- src/urweb.lex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/urweb.lex') 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]+; -- cgit v1.2.3