Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314450 - "Select type" syntax error (minor issue)
Summary: "Select type" syntax error (minor issue)
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 5.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 6.0   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 08:47 EDT by Philip Mason CLA
Modified: 2010-05-27 16:11 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 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.