On Wed, Feb 14, 2007 at 11:49:54AM +0100, Klaas-Jan Stol wrote:
> hello,
> 
> It was discussed before, but I'm not sure what was the result; PAST-pm 
> only allows a PAST::Block node to be returned from transform (ROOT). 
> However, in languages/PIR, the top level construct is a compilation 
> unit, which may be an include statement. An include statement should not 
> be enclosed by a subroutine.
> 
> Will PAST-pm be able to handle this?

Yes, I'm expecting that PAST-pm either will have a PAST::CompUnit
node type for compilation units, or the 'blocktype' attribute
on PAST::Block will have a 'compunit' setting.

Pm

Reply via email to