Permalink
Browse files

added null escape seq

  • Loading branch information...
1 parent b91a1f7 commit 717fc53b47cb7a7fcbfbb31c6c114d84c3fbcd30 csaftoiu committed Dec 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/BrownPLT/JavaScript/Parser.hs
@@ -316,7 +316,7 @@ parseFuncExpr = do
escapeChars =
[('\'','\''),('\"','\"'),('\\','\\'),('b','\b'),('f','\f'),('n','\n'),
- ('r','\r'),('t','\t'),('v','\v'),('/','/'),(' ',' ')]
+ ('r','\r'),('t','\t'),('v','\v'),('/','/'),(' ',' '),('0','\0')]
allEscapes:: String
allEscapes = map fst escapeChars

0 comments on commit 717fc53

Please sign in to comment.