Skip to content

Commit a188f48

Browse files
committed
Replace lexer switch/case and function calls with lookup tables
This was done together with the first semi-manual pass & check based on MySQLLexer.g4 grammar from https://github.com/mysql/mysql-workbench/blob/8.0.38/library/parsers/grammars/MySQLLexer.g4. It also cuts the size of the lexer from 9460 LOC to 3827 LOC, and the correctness improvements further reduce the number of failing tests.
1 parent 1ab3723 commit a188f48

File tree

3 files changed

+1451
-8035
lines changed

3 files changed

+1451
-8035
lines changed

0 commit comments

Comments
 (0)