diff options
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index f6c9bf9a..c532d0b0 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -1040,6 +1040,9 @@ symresolution_info::visit_foreach_loop (foreach_loop* e) hist->visit (this); } + if (e->limit) + e->limit->visit (this); + e->block->visit (this); } @@ -2375,6 +2378,12 @@ typeresolution_info::visit_foreach_loop (foreach_loop* e) } } + if (e->limit) + { + t = pe_long; + e->limit->visit (this); + } + t = pe_unknown; e->block->visit (this); } |