Bug 428850 - Syntax errors on valid code
Summary: Syntax errors on valid code
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Parser (show other bugs)
Version: 8.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 13:39 EST by Missing name CLA
Modified: 2014-02-23 13:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2014-02-23 13:39:56 EST
inquire(unit=infile_handle, size=file_size)
 -> Unexpected identifier

 open(newunit=handle,file=name,form='formatted',status='old', iostat=status)
 -> Unexpected equals (newunit is F2008, supported by gfortran)

 call X(null())
 -> Unexpected null (more valid F2008)


 select type (Point=> P)
 Type is (real)
 Type is (double precision)
 Type is (integer)
 Type is (logical)
 end select

-> unexpected "is",etc.. 

Type X
contains
procedure :: A
generic :: Read  => A
end type

-> Unexpected equals