Skip to content

Commit c8e599a

Browse files
ericmortCopilot
andauthored
Make OPEN a context-aware keyword to close #2224 (#2419)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ericmort <[email protected]>
1 parent 82befb2 commit c8e599a

File tree

3 files changed

+986
-815
lines changed

3 files changed

+986
-815
lines changed

src/alasqlparser.jison

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ Literal
361361
{ $$ = doubleq($1.substr(1,$1.length-2)); }
362362
| KEY
363363
{ $$ = $1.toLowerCase(); }
364+
| OPEN
365+
{ $$ = $1.toLowerCase(); }
364366
| error NonReserved
365367
{ $$ = $2.toLowerCase() }
366368
;
@@ -3333,6 +3335,7 @@ NonReserved
33333335
|OBJECT
33343336
|OCTETS
33353337
|OFF
3338+
|OPEN
33363339
|OPTION
33373340
|OPTIONS
33383341
|ORDER
@@ -3609,6 +3612,7 @@ var nonReserved = ["A"
36093612
,"OBJECT"
36103613
,"OCTETS"
36113614
,"OFF"
3615+
,"OPEN"
36123616
,"OPTION"
36133617
,"OPTIONS"
36143618
,"ORDER"

0 commit comments

Comments
 (0)