Skip to content

Commit 3aa9cd9

Browse files
author
Nikita Glukhov
committed
Allow empty arrays in grammar
1 parent 27e5214 commit 3aa9cd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jsquery_gram.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ result:
255255

256256
array:
257257
'[' value_list ']' { $$ = makeItemArray($2); }
258+
| '[' ']' { $$ = makeItemArray(NIL); }
258259
;
259260

260261
scalar_value:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy