Skip to content

Commit c2f4ff6

Browse files
committed
Remove isDevVersion for function / match options
1 parent 500bf1f commit c2f4ff6

File tree

8 files changed

+1040
-1067
lines changed

8 files changed

+1040
-1067
lines changed

x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ ASTERISK : '*';
216216
SLASH : '/';
217217
PERCENT : '%';
218218

219-
LEFT_BRACES : {this.isDevVersion()}? '{';
220-
RIGHT_BRACES : {this.isDevVersion()}? '}';
219+
LEFT_BRACES : '{';
220+
RIGHT_BRACES : '}';
221221

222222
NESTED_WHERE : WHERE -> type(WHERE);
223223

x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ functionName
110110
;
111111

112112
mapExpression
113-
: {this.isDevVersion()}? LEFT_BRACES entryExpression (COMMA entryExpression)* RIGHT_BRACES
113+
: LEFT_BRACES entryExpression (COMMA entryExpression)* RIGHT_BRACES
114114
;
115115

116116
entryExpression

x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java

Lines changed: 427 additions & 446 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)