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?
regards,
klaas-jan
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