Commit c2fe7d87 authored by Simon Marlow's avatar Simon Marlow
Browse files

tab, verttab, formfeed, and CR are not allowed in strings

See #1277
parent 2b37fb7a
...@@ -91,11 +91,11 @@ charType c = case c of ...@@ -91,11 +91,11 @@ charType c = case c of
'\6' -> 0 -- \006 '\6' -> 0 -- \006
'\7' -> 0 -- \007 '\7' -> 0 -- \007
'\8' -> 0 -- \010 '\8' -> 0 -- \010
'\9' -> cAny + cSpace -- \t '\9' -> cSpace -- \t (not allowed in strings, so !cAny)
'\10' -> cSpace -- \n (not allowed in strings, so !cAny) '\10' -> cSpace -- \n (ditto)
'\11' -> cAny + cSpace -- \v '\11' -> cSpace -- \v (ditto)
'\12' -> cAny + cSpace -- \f '\12' -> cSpace -- \f (ditto)
'\13' -> cAny + cSpace -- ^M '\13' -> cSpace -- ^M (ditto)
'\14' -> 0 -- \016 '\14' -> 0 -- \016
'\15' -> 0 -- \017 '\15' -> 0 -- \017
'\16' -> 0 -- \020 '\16' -> 0 -- \020
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment