@@ -582,6 +582,7 @@ const grammar: Grammar = {
582582 { "name" : "kw_hour" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'hour' ) } ,
583583 { "name" : "kw_minute" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'minute' ) } ,
584584 { "name" : "kw_local" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'local' ) } ,
585+ { "name" : "kw_session" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'session' ) } ,
585586 { "name" : "kw_prepare" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'prepare' ) } ,
586587 { "name" : "kw_deallocate" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'deallocate' ) } ,
587588 { "name" : "kw_raise" , "symbols" : [ ( lexerAny . has ( "word" ) ? { type : "word" } : word ) ] , "postprocess" : notReservedKw ( 'raise' ) } ,
@@ -1976,12 +1977,17 @@ const grammar: Grammar = {
19761977 { "name" : "simplestatements_set_names" , "symbols" : [ "kw_names" , "simplestatements_set_names_val" ] , "postprocess" : x => track ( x , { type : 'set names' , to : x [ 1 ] } ) } ,
19771978 { "name" : "simplestatements_set_names_val$subexpression$1" , "symbols" : [ "string" ] } ,
19781979 { "name" : "simplestatements_set_names_val" , "symbols" : [ "simplestatements_set_names_val$subexpression$1" ] , "postprocess" : x => track ( x , { type : 'value' , value : unwrap ( x [ 0 ] ) } ) } ,
1980+ { "name" : "simplestatements_set_simple$ebnf$1$subexpression$1" , "symbols" : [ "kw_local" ] } ,
1981+ { "name" : "simplestatements_set_simple$ebnf$1$subexpression$1" , "symbols" : [ "kw_session" ] } ,
1982+ { "name" : "simplestatements_set_simple$ebnf$1" , "symbols" : [ "simplestatements_set_simple$ebnf$1$subexpression$1" ] , "postprocess" : id } ,
1983+ { "name" : "simplestatements_set_simple$ebnf$1" , "symbols" : [ ] , "postprocess" : ( ) => null } ,
19791984 { "name" : "simplestatements_set_simple$subexpression$1" , "symbols" : [ ( lexerAny . has ( "op_eq" ) ? { type : "op_eq" } : op_eq ) ] } ,
19801985 { "name" : "simplestatements_set_simple$subexpression$1" , "symbols" : [ ( lexerAny . has ( "kw_to" ) ? { type : "kw_to" } : kw_to ) ] } ,
1981- { "name" : "simplestatements_set_simple" , "symbols" : [ "ident" , "simplestatements_set_simple$subexpression$1" , "simplestatements_set_val" ] , "postprocess" : x => track ( x , {
1986+ { "name" : "simplestatements_set_simple" , "symbols" : [ "simplestatements_set_simple$ebnf$1" , " ident", "simplestatements_set_simple$subexpression$1" , "simplestatements_set_val" ] , "postprocess" : x => track ( x , {
19821987 type : 'set' ,
1983- variable : asName ( x [ 0 ] ) ,
1984- set : unbox ( x [ 2 ] ) ,
1988+ variable : asName ( x [ 1 ] ) ,
1989+ scope : unwrap ( x [ 0 ] ) ?. toLowerCase ( ) ,
1990+ set : unbox ( x [ 3 ] ) ,
19851991 } ) } ,
19861992 { "name" : "simplestatements_set_val" , "symbols" : [ "simplestatements_set_val_raw" ] , "postprocess" : unwrap } ,
19871993 { "name" : "simplestatements_set_val" , "symbols" : [ ( lexerAny . has ( "kw_default" ) ? { type : "kw_default" } : kw_default ) ] , "postprocess" : x => track ( x , { type : 'default' } ) } ,
0 commit comments