]> git.saurik.com Git - cycript.git/commitdiff
A typo in ObjectLiteral kept us from parsing jQuery.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 13 Jul 2010 09:09:04 +0000 (09:09 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 13 Jul 2010 09:09:04 +0000 (09:09 +0000)
Cycript.yy.in

index 22a601ad8aaa4f0a1304130a9c6ee3dfbbf2bd21..b40c34868277dd96382fc2cc4640d5afddaf4057 100644 (file)
@@ -759,7 +759,7 @@ ElementList
 /* }}} */
 /* 11.1.5 Object Initialiser {{{ */
 ObjectLiteral
-    : OpenBrace PropertyNameAndValueListOpt "}" { $$ = CYNew CYObject($2); }
+    : Brace PropertyNameAndValueListOpt "}" { $$ = CYNew CYObject($2); }
     ;
 
 PropertyNameAndValueList_