pp-stratego-string cannot unparse Override() AST node
pp-stratego-stringstrategy is unable to unparse the
Override()AST node (as in the Stratego code
override some-library-strategy = id).
This is a bit weird, since a PP rule for the override keyword appears to be present in all the Stratego(-Core,-Sugar).pp files I see.
See also this SPT test:
Submitted by Tobi Vollebregt on 9 March 2012 at 14:28
!AnnoDef([Override()], SDefNoArgs(“foo”, Id())); // <- can not be pp’ed
// !AnnoDef(, SDefNoArgs(“foo”, Id())); // <- can be pp’ed
//alltd(\Override() -> S(“override”)); // <- workaround
Oh I see pp-stratego-string does not even use any PP table, it uses a custom transform to a BOX AST.
Which does not process the
Override()AST node, indeed.
Added it. Probably need strc-java baseline update again before this is completely fixed.
Log in to post comments