Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 306444 - Introduce Implicit None thinks format specifiers are implicit variables
Summary: Introduce Implicit None thinks format specifiers are implicit variables
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: 5.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 6.0.7   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 17:38 EDT by Jeffrey Overbey CLA
Modified: 2011-05-14 06:43 EDT (History)
0 users

See Also:


Attachments
Patch (2.96 KB, patch)
2011-03-17 09:10 EDT, Jeffrey Overbey CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2010-03-18 17:38:09 EDT
Introduce Implicit None attempts to declare A6 and I6 as local variables when it sees the following line (from cblat2.f).

 9999 FORMAT( ' ', A6, ' PASSED THE COMPUTATIONAL TESTS (', I6, ' CALL',
     $      'S)' )

One possible solution is to skip FORMAT statements when looking for variable references.  (They can't contain them... right?)
Comment 1 Jeffrey Overbey CLA 2011-03-17 09:10:10 EDT
Created attachment 191413 [details]
Patch
Comment 2 Jeffrey Overbey CLA 2011-03-17 09:14:01 EDT
Fixed in ptp_4_0 (Photran 6.0.7) and HEAD (Photran 7.0)