Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build-only": "sh build.sh",
"install-g": "yarn build && npm uninstall alasql -g && npm install -g .",
"release": "yarn version",
"jison": "jison ./src/alasqlparser.jison -o ./src/alasqlparser.js",
"jison": "jison --compress-tables 0 --no-try-catch ./src/alasqlparser.jison -o ./src/alasqlparser.js",
"fmt": "yarn pretty-commit --write",
"format": "yarn pretty-since-dev --write",
"format-all": "yarn pretty-all --write",
Expand Down Expand Up @@ -68,7 +68,7 @@
"esbuild": "0.27.2",
"git-branch-is": "4.0.0",
"husky": "9.1.7",
"jison": "^0.4.18",
"jison-gho": "^0.6.1-216",
"mocha": "11.7.5",
"mocha.parallel": "0.15.6",
"open": "11.0.0",
Expand All @@ -80,6 +80,7 @@
"uglify-js": "3.19.3"
},
"resolutions": {
"cross-spawn": "^7.0.6",
"got": "14",
"axios": "^1.13.2",
"json5": "2",
Expand All @@ -93,6 +94,7 @@
"rimraf": "^6.1.2"
},
"overrides": {
"cross-spawn": "^7.0.6",
"axios": "^1.13.2",
"follow-redirects": "^1.15.11",
"glob": "^13.0.0",
Expand Down
6 changes: 3 additions & 3 deletions src/alasqlparser.jison
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

%lex
%options case-insensitive
%options case-insensitive easy_keyword_rules

%%

Expand Down Expand Up @@ -1916,13 +1916,13 @@ Insert
| INSERT Into TargetTable LPAR ColumnsList RPAR Values ValuesListsList OutputClause
{ $$ = new yy.Insert({into:$3, columns: $5, values: $8}); yy.extend($$,$9); }
| INSERT Into TargetTable LPAR ColumnsList RPAR ValuesListsList OutputClause
{ $$ = new yy.Insert({into:$3, columns: $5, values: $7}); yy.extend($$,$9); }
{ $$ = new yy.Insert({into:$3, columns: $5, values: $7}); yy.extend($$,$8); }
| INSERT Into TargetTable Select OutputClause
{ $$ = new yy.Insert({into:$3, select: $4}); yy.extend($$,$5); }
| INSERT OR REPLACE Into TargetTable Select OutputClause
{ $$ = new yy.Insert({into:$5, select: $6, orreplace:true}); yy.extend($$,$7); }
| INSERT Into TargetTable LPAR ColumnsList RPAR Select OutputClause
{ $$ = new yy.Insert({into:$3, columns: $5, select: $7}); yy.extend($$,$9); }
{ $$ = new yy.Insert({into:$3, columns: $5, select: $7}); yy.extend($$,$8); }
| INSERT Into TargetTable SET SetColumnsList OutputClause
{ $$ = new yy.Insert({into:$3, setcolumns: $5}); yy.extend($$,$6); }
;
Expand Down
Loading
Loading