Allow .["foo"].["bar"]
This commit is contained in:
1 parent
c72ed135e4
commit
3e0a118886
2 files changed
+856
-813
No files matched your search
+850
-813
File diff suppressed because it is too large.
Load diff
@@ -688,6 +688,12 @@ Term '[' Exp ']' '?' {
|
||||
Term '[' Exp ']' %prec NONOPT {
|
||||
$$ = gen_index($1, $3);
|
||||
} |
|
||||
Term '.' '[' Exp ']' '?' {
|
||||
$$ = gen_index_opt($1, $4);
|
||||
} |
|
||||
Term '.' '[' Exp ']' %prec NONOPT {
|
||||
$$ = gen_index($1, $4);
|
||||
} |
|
||||
Term '[' ']' '?' {
|
||||
$$ = block_join($1, gen_op_simple(EACH_OPT));
|
||||
} |
|
||||
|
||||
Reference in new issue
Block a user