Skip to content

Commit 316e279

Browse files
committed
ESQL: Break up antlr lexer
This breaks the antlr lexer into a few files rather than one giant file. It's much easier to read them this way.
1 parent 8d4f034 commit 316e279

File tree

20 files changed

+2796
-2678
lines changed

20 files changed

+2796
-2678
lines changed

x-pack/plugin/esql/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ tasks.register("regenLexer", JavaExec) {
205205
'-package', 'org.elasticsearch.xpack.esql.parser',
206206
'-listener',
207207
'-visitor',
208+
'-lib', "${file(grammarPath)}/lexer",
208209
'-o', outputPath,
209210
"${file(grammarPath)}/EsqlBaseLexer.g4"
210211
}

0 commit comments

Comments
 (0)