jcpp icon indicating copy to clipboard operation
jcpp copied to clipboard

Stripping line comments

Open io7m opened this issue 9 years ago • 1 comments
trafficstars

Hello!

Is jcpp capable of lexing and removing C++ style line comments?

// This is a comment

I can't see anything in the API to do this, and there doesn't seem to be a Feature value that would enable it. I'm seeing line comments in the output of the preprocessor, so presumably it doesn't do it by default, either.

io7m avatar Jan 13 '16 11:01 io7m

If Feature.KEEPCOMMENTS is off, they should be removed.

shevek avatar Apr 03 '16 18:04 shevek