diff src/urweb.lex @ 1432:7d024767b024

Cope with DOS-format line breaks in source code
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Mar 2011 19:26:35 -0500
parents 1595a738e4e9
children 5530a8075b62
line wrap: on
line diff
--- a/src/urweb.lex	Thu Mar 10 18:51:15 2011 -0500
+++ b/src/urweb.lex	Thu Mar 10 19:26:35 2011 -0500
@@ -169,7 +169,7 @@
 
 id = [a-z_][A-Za-z0-9_']*;
 cid = [A-Z][A-Za-z0-9_]*;
-ws = [\ \t\012];
+ws = [\ \t\012\r];
 intconst = [0-9]+;
 realconst = [0-9]+\.[0-9]*;
 notags = ([^<{\n(]|(\([^\*<{\n]))+;