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

Bug 339265

Summary: syntax error on valid IF statement
Product: [Tools] PTP Reporter: janus
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: Macintosh   
OS: Linux   
Whiteboard:

Description janus CLA 2011-03-08 13:06:42 EST
Build Identifier: 20110218-0911

Viewing the following Fortran code in Eclipse gives a SyntaxException in the Outline view:


program p
  integer::id
  if (id==0 .or. id==1) return
end program


SyntaxException: Syntax error: Unexpected end of input (..., line 6, column 1). Expected one of the following: block, close, contains, ...


Eclipse IDE for C/C++ Developers 1.3.2.20110218-0812 epp.package.cpp
Fortran Development Tools (Photran) 6.0.6.201102161000 org.eclipse.photran.feature.group


Reproducible: Always
Comment 1 Jeffrey Overbey CLA 2011-03-17 11:28:36 EDT
Thanks for the bug report.  Unfortunately, the fix for this didn't make it into the 6.0 series, but it will appear in 7.0 (the June, 2011 release).