pp-stratego-string cannot unparse Override() AST node
The libstrc
pp-stratego-string
strategy is unable to unparse theOverride()
AST node (as in the Stratego codeoverride 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
test bla
!AnnoDef([Override()], SDefNoArgs(“foo”, Id())); // <- can not be pp’ed
// !AnnoDef([], SDefNoArgs(“foo”, Id())); // <- can be pp’ed
//alltd(\Override() -> S(“override”)); // <- workaround
pp-stratego-string
Issue Log
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 theOverride()
AST node, indeed.Added it. Probably need strc-java baseline update again before this is completely fixed.
Log in to post comments