jcpp
jcpp copied to clipboard
Stripping line 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.
If Feature.KEEPCOMMENTS is off, they should be removed.