Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripping line comments #32

Open
io7m opened this issue Jan 13, 2016 · 1 comment
Open

Stripping line comments #32

io7m opened this issue Jan 13, 2016 · 1 comment

Comments

@io7m
Copy link

io7m commented Jan 13, 2016

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.

@shevek
Copy link
Owner

shevek commented Apr 3, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants