X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/4f3e597ca9a1d3e5ff9e7831c55f32500917d7d7..824bc1ec28c62ea1d63622c46e1edfd911c38b64:/Parser.ypp.in diff --git a/Parser.ypp.in b/Parser.ypp.in index ffa42cc..0d48316 100644 --- a/Parser.ypp.in +++ b/Parser.ypp.in @@ -2664,6 +2664,11 @@ ArgumentList : LexOf WordNoUnary[tag] ":" AssignmentExpression[value] ArgumentList_[next] { $$ = CYNew CYArgument($tag, $value, $next); } ; /* }}} */ +/* JavaScript FTW: Subscript Access {{{ */ +MemberAccess + : "." "[" AssignmentExpression[property] "]" { $$ = CYNew CYSubscriptMember(NULL, $property); } + ; +/* }}} */ /* JavaScript FTW: Java "Anonymous Inner Classes" {{{ */ BracedParameter