Add \0 escape sequence
This commit is contained in:
parent
904716b94f
commit
55f393b4f1
|
@ -129,6 +129,7 @@ escChar :: Char
|
||||||
/ 'n' { '\n' }
|
/ 'n' { '\n' }
|
||||||
/ 'r' { '\r' }
|
/ 'r' { '\r' }
|
||||||
/ 't' { '\t' }
|
/ 't' { '\t' }
|
||||||
|
/ '0' { '\0' }
|
||||||
|
|
||||||
identifier ::: T.Text
|
identifier ::: T.Text
|
||||||
= [a-zA-Z_] [a-zA-Z0-9_'?!]* { T.pack ($1 : $2) }
|
= [a-zA-Z_] [a-zA-Z0-9_'?!]* { T.pack ($1 : $2) }
|
||||||
|
|
Loading…
Reference in New Issue