Hey,

aspectj-front pretty-print files can’t be compiled when imported to spoofax project, because the compiler can’t handle terms called ‘bs’. the presented error says that b and s are variables that are used but not bound. the name of those variables needs to be changed to something else.
Those variables appears on:
AdviceDeclaration.str:
aspectj-to-box :
AdviceDec(bs, b2, throws, b4, b5) ->
V vs=0 [
H hs=1 [~*bs b2 ~*b3 KW[“:”] b4]
b5
]
where
throws => b3

IntertypeMemberDeclaration.str:
aspectj-to-box :
IntertypeFieldDec(mods, type, typename, opt-type-params, vardec)
->
H hs=1 [ ~*mods ~type H hs=0 [~typename ~*bs “.” ~vardec “;”] ]
where
opt-type-params => bs

Thanks,
Arik

Submitted on 20 July 2012 at 16:46

On 8 January 2013 at 14:13 Eelco Visser tagged stratego

On 8 January 2013 at 14:14 Eelco Visser tagged box

Log in to post comments