From b05e8f99ab66b5ee490db0c83426173d6c8ae66f Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 11 Jun 2015 19:06:32 -0400 Subject: Allow apostrophes in capitalized identifiers --- src/urweb.lex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/urweb.lex b/src/urweb.lex index eada3611..f32ddf1e 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -178,7 +178,7 @@ fun unescape loc s = id = [a-z_][A-Za-z0-9_']*; xmlid = [A-Za-z][A-Za-z0-9_-]*; -cid = [A-Z][A-Za-z0-9_]*; +cid = [A-Z][A-Za-z0-9_']*; ws = [\ \t\012\r]; intconst = [0-9]+; realconst = [0-9]+\.[0-9]*; -- cgit v1.2.3