escaped literals

This commit is contained in:
Dmitry Zuikov 2023-02-09 10:35:20 +03:00
parent a9f72e3213
commit 54377068aa
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ stringLit sp = L.lexeme sp $ do
where where
str = do str = do
s <- dquot >> manyTill L.charLiteral dquot s <- dquot >> manyTill L.charLiteral dquot
pure $ Text.pack (mconcat [ showLitChar c "" | c <- s ]) pure $ Text.pack s -- (mconcat [ showLitChar c "" | c <- s ])
-- FIXME: position! -- FIXME: position!
intLit :: forall c . MegaConstraints c intLit :: forall c . MegaConstraints c