Skip to content

Commit ce2d47c

Browse files
committed
Support leading comma in projections
1 parent 588260b commit ce2d47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/parser/src/main/javacc/JavaCCParser.jj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ Expr.Parsed PROJECTION_EXPRESSION(Expr.Parsed base, Token whsp0, Token whsp): {
601601
Token last;
602602
} {
603603
(
604-
<BRACE_OPEN> [<WHSP>]
604+
<BRACE_OPEN> [<WHSP>] [<COMMA> [<WHSP>]]
605605
(
606606
current=ANY_LABEL_OR_SOME() { labels.add(current); }
607607
[<WHSP>]

0 commit comments

Comments
 (0)