-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve rule for distinguishing tuples (arg lists) from parenthesized…
… blocks a parenthesized expression is a tuple when at least one of these is true: - it is empty - there is a comma - it begins with `x...` and isn't just `(x...)` - it begins with `(;` (corresponding to the positional part being empty) anything beginning with `(x;` will be considered a block; you need a comma (`(x,;)`) to get tuple parsing. add line numbers to blocks written as `(a; b; c)`
- Loading branch information
1 parent
be556a9
commit 44557d8
Showing
3 changed files
with
64 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters