-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/dev: add generate parser subcommand
This commit separates out the generated files needed for the parser into a separate genbzl target and then add a reference to that target from dev. You can now run `./dev generate parser` to regenerate the parser files. Release note: None
- Loading branch information
Showing
7 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generated by genbzl | ||
|
||
PARSER_SRCS = [ | ||
"//pkg/sql/lexbase:keywords.go", | ||
"//pkg/sql/lexbase:reserved_keywords.go", | ||
"//pkg/sql/lexbase:tokens.go", | ||
"//pkg/sql/parser:help_messages.go", | ||
"//pkg/sql/parser:helpmap_test.go", | ||
"//pkg/sql/parser:sql.go", | ||
"//pkg/sql/sem/tree:createtypevariety_string.go", | ||
"//pkg/sql/sem/tree:eval_expr_generated.go", | ||
"//pkg/sql/sem/tree:eval_op_generated.go", | ||
"//pkg/sql/sem/tree:statementreturntype_string.go", | ||
"//pkg/sql/sem/tree:statementtype_string.go", | ||
] |