Skip to content

Commit

Permalink
Adapted to change in tuple syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jan 10, 2025
1 parent e75ada6 commit 4a95f26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ void collect(current: (Pattern) `+<Pattern argument>`, Collector c){

// ---- tuple pattern ---------------------------------------------------------

void collect(current: (Pattern) `\< <{Pattern ","}+ elements1> \>`, Collector c){
void collect(current: (Pattern) `\< <{Pattern ","}* elements0> \>`, Collector c){
c.push(patternContainer, "tuple");
collect(elements1, c);
collect(elements0, c);
c.pop(patternContainer);
}

Expand Down

0 comments on commit 4a95f26

Please sign in to comment.