Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318189 - References in DO-loops are not indexed after LoopReplacer has been invoked
Summary: References in DO-loops are not indexed after LoopReplacer has been invoked
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 6.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 6.0.1   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 11:15 EDT by Jeffrey Overbey CLA
Modified: 2010-06-28 18:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2010-06-28 11:15:16 EDT
When an AST for a file is in memory and LoopReplacer has been invoked on it, if the file is reindexed, none of the variable references in loops are indexed.  (This is because ReferenceCollector does not subclass from ASTVisitorWithLoops.)
Comment 1 Jeffrey Overbey CLA 2010-06-28 18:02:09 EDT
Changed superclass of BindingCollector in ptp_4_0 and HEAD.

Eventually we should merge loop replacement into the parsing process.  Having two possible AST structures and different visitors is confusing.