For code generation, it would be useful to support comments inside code fragments. This is not very difficult to do using the tools that are already available for comment preservation.

Possible solution:

  • Allow preserve comments instruction in .meta file.

  • Invoke asfix-anno-comments if comment preservation is enabled

  • Explode the annotations (maybe this already works)

  • Make pretty-printers support comment annotations (the pretty-printer of java-front already supports this).

Submitted on 31 October 2004 at 18:45

On 9 January 2013 at 16:57 Eelco Visser removed tag 0.19

On 9 January 2013 at 16:57 Eelco Visser tagged 0.19M1

On 9 January 2013 at 16:57 Eelco Visser removed tag 0.19M1

On 9 January 2013 at 16:57 Eelco Visser tagged interesting

Log in to post comments