From 9f329991337046d9b61caf8d85c9b9a9c0685d1c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 11 Jun 2013 23:59:58 -0700 Subject: [PATCH 1/1] Forgot earlier yy modification: CYTypeArrayOf type. --- Cycript.yy.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2