Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339265 - syntax error on valid IF statement
Summary: syntax error on valid IF statement
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Linux
: P3 normal (vote)
Target Milestone: 7.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 13:06 EST by janus CLA
Modified: 2011-03-17 11:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).