fix(lexer): handle crlf in newline
Do we support windows 🤔
This commit is contained in:
parent
00a6e11f67
commit
678158d614
2 changed files with 6 additions and 2 deletions
|
|
@ -106,11 +106,15 @@ maths = do
|
|||
]
|
||||
|
||||
escaping :: Expectation
|
||||
escaping =
|
||||
escaping = do
|
||||
"\\("
|
||||
`shouldLexTo` [ (1, 1, Escape)
|
||||
, (1, 2, Token "(")
|
||||
]
|
||||
"\\(\r\n"
|
||||
`shouldLexTo` [ (1, 1, Escape)
|
||||
, (1, 2, Token "(")
|
||||
]
|
||||
|
||||
unicode :: Expectation
|
||||
unicode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue