Skip to content

Commit

Permalink
Remove isDevVersion for function / match options
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Jan 23, 2025
1 parent 500bf1f commit c2f4ff6
Show file tree
Hide file tree
Showing 8 changed files with 1,040 additions and 1,067 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ ASTERISK : '*';
SLASH : '/';
PERCENT : '%';

LEFT_BRACES : {this.isDevVersion()}? '{';
RIGHT_BRACES : {this.isDevVersion()}? '}';
LEFT_BRACES : '{';
RIGHT_BRACES : '}';

NESTED_WHERE : WHERE -> type(WHERE);

Expand Down
2 changes: 2 additions & 0 deletions x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ functionName
;

mapExpression
: {this.isDevVersion()}? LEFT_BRACES entryExpression (COMMA entryExpression)* RIGHT_BRACES
: LEFT_BRACES entryExpression (COMMA entryExpression)* RIGHT_BRACES
;

entryExpression
Expand Down
2 changes: 2 additions & 0 deletions x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit c2f4ff6

Please sign in to comment.