-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
As far as I can tell hpython only parses standard Python comments:
hpython/src/Language/Python/Internal/Lexer.hs
Lines 115 to 118 in ede398a
| parseComment :: (CharParsing m, Monad m) => m (SrcInfo -> PyToken SrcInfo) | |
| parseComment = | |
| (\a b -> TkComment (MkComment (Ann b) a)) <$ char '#' <*> | |
| many (satisfy (`notElem` ['\r', '\n'])) |
Is there any reason that it doesn't support parsing of docstrings, or is it just not a use case that QFPL hasn't had need for yet (i.e. would a PR be welcomed, or potentially something to add as a milestone for a future release)?
Metadata
Metadata
Assignees
Labels
No labels