X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/4f3e597ca9a1d3e5ff9e7831c55f32500917d7d7..4b645e23d2abde4de1ced347750b070f89b685c3:/Parser.ypp.in?ds=sidebyside 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