]> git.saurik.com Git - cycript.git/commitdiff
Fix crash when trying to use specifier without int.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 21 Jan 2014 15:24:22 +0000 (07:24 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 21 Jan 2014 15:24:22 +0000 (07:24 -0800)
Cycript.yy.in

index 8368f81293cbc3000d56994441596ca0ea511f6d..f4c1ffdba1aad2dcae78ad26b2554eed51d5860e 100644 (file)
@@ -1449,7 +1449,7 @@ IntegerType
 
 IntegerTypeOpt
     : IntegerType { $$ = $1; }
-    |
+    | { $$ = CYNew CYTypeVariable("int"); }
     ;
 
 PrimitiveType