projects
/
cycript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5848d
)
Forgot earlier yy modification: CYTypeArrayOf type.
author
Jay Freeman (saurik)
<saurik@saurik.com>
Wed, 12 Jun 2013 06:59:58 +0000
(23:59 -0700)
committer
Jay Freeman (saurik)
<saurik@saurik.com>
Wed, 12 Jun 2013 07:00:24 +0000
(
00:00
-0700)
Cycript.yy.in
patch
|
blob
|
blame
|
history
diff --git
a/Cycript.yy.in
b/Cycript.yy.in
index 7ffc95121edd3b5d05ad4c475bc55c1cb9a4211b..aab5160c0a6e3299e3999a0e0610e06b4216b7a8 100644
(file)
--- 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