Using --preserve-locations in sglri removes any existing comments from the parse tree. So, if --preserve-comments and --preserve-locations are used together, the comments are removed when the location information is added.

The problem is in the

static ATerm traverse(ATerm t, struct Location* session)

function in stratego-libraries/sglr/lib/native/position-info.c.

Submitted by Rob Economopoulos on 13 May 2011 at 09:49

On 15 May 2011 at 16:23 Lennart Kats commented:

Fixed with Rob’s patch in r22880.


On 15 May 2011 at 16:23 Lennart Kats closed this issue.

On 15 May 2011 at 16:24 Lennart Kats tagged 0.18

Log in to post comments