Skip to content

Commit 4536cfa

Browse files
committed
Fix the token data file in the parser README
The grammar build diagram still showed generate-tokens.php writing a separate class-wp-mysql-tokens.php. The token data is now generated into the lexer class.
1 parent 35f656f commit 4536cfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/mysql-parser/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It outputs a compact parse table and a list of MySQL tokens for the lexer:
1414
mysql-server sources
1515
sql/sql_yacc.yy ──▶ Bison 3.8.2 ──▶ automaton.xml ─┬─▶ generate-parse-table.php ──▶ mysql-parse-table.php
1616
|
17-
sql/lex.h ─────────────────────────────────────────┴─▶ generate-tokens.php ───────▶ class-wp-mysql-tokens.php
17+
sql/lex.h ─────────────────────────────────────────┴─▶ generate-tokens.php ───────▶ class-wp-mysql-lexer.php
1818
```
1919

2020
The runtime ships only the compiled artifacts and a thin parser implementation.

0 commit comments

Comments
 (0)