-
Notifications
You must be signed in to change notification settings - Fork 165
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
comment rule only support "\n", not support "\r\n" #376
Comments
Maybe this would work for all end-of-line conventions:
|
What is going wrong, actually? In theory, this should lex |
However, I am not sure that changes anything, at least not on LF or CR/LF systems.
@andreasabel So I will close this issue. |
@hangingman Ok, good, that confirms my analysis! |
This rule generates
$ bnfc -m -cpp_stl sample.cf
following flex file
This is not working when I tried to read windows text file. I wish comment rule was customizable to use CRLF file.
The text was updated successfully, but these errors were encountered: