-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
T: bugSomething isn't workingSomething isn't working
Description
The regular parser ignores token.NL
/token.COMMENT
since the grammar assumes there can be any number of them during parsing. This is actually handled in the driver rather than parser, so when the parser got implemented initially we did not specifically instruct this. But seems like it is now needed.
This seem to only cover cases where a standalone match
or case
is used in a newline fashion:
match(
something
)
It does not include re.match()
or other variants as far as I can see. The fix is should be really easy, just ignoring those tokens on the recorder.
Metadata
Metadata
Assignees
Labels
T: bugSomething isn't workingSomething isn't working