diff options
author | 2011-03-10 19:26:35 -0500 | |
---|---|---|
committer | 2011-03-10 19:26:35 -0500 | |
commit | c824364cb48385480667ce646425d37ec0ad87b0 (patch) | |
tree | 788f0b94636aa8f8c626221a99aa7cee41ecc2ad /src | |
parent | f7b3e616c3d16a85e0cc1de32e37e036c964294a (diff) |
Cope with DOS-format line breaks in source code
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 371d69a7..74b91432 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -169,7 +169,7 @@ fun unescape loc s = 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]))+; |