X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c2faf0d3294cf48cf5032885f15befe532901d47..61769f4feca6b79c44accca7f8bd9b74bf6a5ce9:/Cycript.yy.in diff --git a/Cycript.yy.in b/Cycript.yy.in index 57b1ac6..5a35dd7 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -1634,6 +1634,11 @@ PrimaryExpression : "^" ModifiedType "(" LexPushInOff TypedParameterListOpt ")" LexPopIn BRACE LexPushInOff FunctionBody "}" LexPopIn { $$ = CYNew CYObjCBlock($2, $5, $10); } ; /* }}} */ +/* Cycript (Objective-C): Instance Literals {{{ */ +PrimaryExpression + : "#" NumericLiteral { $$ = CYNew CYInstanceLiteral($2); } + ; +/* }}} */ @end @begin C