]> git.saurik.com Git - cycript.git/blobdiff - Parser.ypp.in
Got exceptions bridged, back and forth, with Java.
[cycript.git] / Parser.ypp.in
index ffa42cc32e9e114dfa2ceb562fe06f544a359d4f..0d48316a23b2ddc2ebc3599419935b49064e20fe 100644 (file)
@@ -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