]> git.saurik.com Git - cycript.git/blobdiff - Cycript.yy.in
De-CYNext CYExpression, fix CYCompound/Primitive.
[cycript.git] / Cycript.yy.in
index 2227201e0cd184bf619e48ad062d0690b53a7d6a..3a31f1ebbe797f220e5cf17bb7123ecc846eb4fb 100644 (file)
@@ -1054,11 +1054,11 @@ AssignmentExpression
 /* 11.14 Comma Operator {{{ */
 Expression_
     : "," Expression { $$ = $2; }
-    | { $$ = CYNew CYCompound(); }
+    | { $$ = NULL; }
     ;
 
 Expression
-    : AssignmentExpression Expression_ { $2->AddPrev($1); $$ = $2; }
+    : AssignmentExpression Expression_ { $$ = CYNew CYCompound($1, $2); }
     ;
 
 ExpressionOpt