escaped literals
This commit is contained in:
parent
a9f72e3213
commit
54377068aa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue