Commit ef89962
committed
Fix handling of Objective-C for...in statements
Without this change, we parse as though the initial declaration is an
uninitialized variable. With this change, we behave the same as we do
for range-based for loops in C++, which is not handled as an
uninitialized variable.
Note, ParseDeclGroup (which is what is eventually called as a result of
this change) was already expecting to be able to handle for...in loops,
so this appears to be fixing an oversight.1 parent 6773ce9 commit ef89962
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | | - | |
| 2157 | + | |
2158 | 2158 | | |
2159 | 2159 | | |
2160 | 2160 | | |
| |||
0 commit comments