[erlang-questions] pretty-printing keeping the comments.

Agustin Cautin acautin@REDACTED
Wed Jul 31 11:13:47 CEST 2013


Hello,

I am trying to pretty print some code using the erl_prettypr module, but in
the process of scanning and parsing the string the comments are lost, using
the return_comments options from the scanner leads to errors later in the
parser.

It is possible to keep the comments using this module ?.
If not, what would be the preferred ways of achieving this ?.

Thanks.

Regards.
Agustin Cautin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130731/f08128c3/attachment.htm>


More information about the erlang-questions mailing list