From: Jay Freeman (saurik) Date: Wed, 12 Jun 2013 06:59:58 +0000 (-0700) Subject: Forgot earlier yy modification: CYTypeArrayOf type. X-Git-Tag: v0.9.500%b1~115 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/9f329991337046d9b61caf8d85c9b9a9c0685d1c?ds=sidebyside Forgot earlier yy modification: CYTypeArrayOf type. --- diff --git a/Cycript.yy.in b/Cycript.yy.in index 7ffc951..aab5160 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -1349,7 +1349,7 @@ ProgramBodyOpt SuffixedType : IdentifierOpt { $$ = CYNew CYTypedIdentifier($1); } | "(" LexPushInOff PrefixedType ")" LexPopIn { $$ = $3; } - | SuffixedType "[" NumericLiteral "]" { CYSetLast($1->type_) = CYNew CYTypeArrayOf($3->Value()); $$ = $1; } + | SuffixedType "[" NumericLiteral "]" { CYSetLast($1->type_) = CYNew CYTypeArrayOf($3); $$ = $1; } ; PrefixedType