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

Bug 314450

Summary: "Select type" syntax error (minor issue)
Product: [Tools] PTP Reporter: Philip Mason <philip.mason>
Component: Photran.For Internal UseAssignee: Photran Inbox <photran-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: com-eclipse-dot-org
Version: 5.0   
Target Milestone: 6.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Philip Mason CLA 2010-05-26 08:47:53 EDT
Hi,

I get syntax error for following simplified code block:

select type (xx)
type is (xmotion)
end select

Nothing actually wrong with the above. If I then add a print statement
then error goes away:

select type (xx)
type is (xmotion)
  print*,'hi'
end select

Seems to be a minor issue with empty "Select Type" blocks.

Philip
Comment 1 Jeffrey Overbey CLA 2010-05-27 16:11:18 EDT
Thanks, Philip.  You're right; this should be allowed and is not in Photran 6 RC2.

I fixed this in CVS.  It will be in the RC3 build next week.