Skip to content

Commit b61cb63

Browse files
authored
chore: add vscode plugin generated stuff in gitignore (#12)
1 parent 0ac4a79 commit b61cb63

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ go.work.sum
3131
# Editor/IDE
3232
.idea/
3333

34-
# Plguin
34+
# Plugin
3535
# Intellij ANTLR plugin
3636
**/gen/
37+
# VSCode ANTLR plugin
38+
**/.antlr/
3739

3840
# ANTLR generated files
3941
**/*.interp

postgresql/PostgreSQLParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2813,7 +2813,7 @@ opt_hold
28132813
;
28142814
/*
28152815
TODO: why select_with_parens alternative is needed at all?
2816-
i guess it because original byson grammar can choose selectstmt(2)->select_with_parens on only OPEN_PARENT/SELECT kewords at the begining of statement;
2816+
i guess it because original bison grammar can choose selectstmt(2)->select_with_parens on only OPEN_PAREN/SELECT kewords at the begining of statement;
28172817
(select * from tab);
28182818
parse can go through selectstmt( )->select_no_parens(1)->select_clause(2)->select_with_parens(1)->select_no_parens(1)->select_clause(1)->simple_select
28192819
instead of selectstmt(1)->select_no_parens(1)->select_clause(2)->select_with_parens(1)->select_no_parens(1)->select_clause(1)->simple_select

0 commit comments

Comments
 (0)