Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318189

Summary: References in DO-loops are not indexed after LoopReplacer has been invoked
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 6.0   
Target Milestone: 6.0.1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.