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

Bug 329618

Summary: Old style do loop broken if index variable does not begin with letters i-n
Product: [Tools] PTP Reporter: Maarten Becker <Maarten.Becker>
Component: Photran.Editor & Outline ViewAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: com-eclipse-dot-org
Version: unspecified   
Target Milestone: 7.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Maarten Becker CLA 2010-11-06 15:44:12 EDT
Build Identifier: M20100909-0800

Example fixed format code:
      program t
      implicit none
      integer*4 plo

      do 6700 plo=1,10
        print*,plo
 6700 continue
      end

Writing "lplo" instead of "plo" elimates the error:
"Unexpected constant: 6700p ...."

Reproducible: Always
Comment 1 Jeffrey Overbey CLA 2011-03-17 09:41:33 EDT
Thanks for the bug report.  This has been fixed in Photran 7.0, which will be released in June, although we'll be asking for testers before then if you're interested (I'll post on the mailing list).