-
Notifications
You must be signed in to change notification settings - Fork 120
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
Warning GCC and Clang : Empty lines : %option '-L' #71
base: master
Are you sure you want to change the base?
Warning GCC and Clang : Empty lines : %option '-L' #71
Conversation
Hello @dpasukhi, Have you tried to pull request this change to the upstream Gnu flex project? Regards, |
Dear @lexxmark , The fix with flex/src/scan.c is not correct ( need to fix scan,l ), but this fix not respons for empty line. The correction of this file is not needed in this patch ( I'll clean up this, if you interested in the integration of this bug ) Best regards, |
Since flex releases happening very rarely let's cleanup this pull request and I will merge it. |
- Fixed [-Wmisleading-indentation] waning of clang(v10+) and gcc(v6+) - Fixed a problem with a sequence of empty lines ('\n' sequence) - Fixed a bugs with '-L' options (%top print a '#line')
0c79ba4
to
7f11968
Compare
Flex sources changed a lot since this PR and the possibly very soon next Flex release seems to have those issues fixed. |
Is there any definite date for the next flex release? |
No, only guesswork based on westes/flex#480 and the referenced issue. "Looks like we are near". |
Files generated by latest flex have some problems:
fixed : flex/src/skel.l
a directive '#line' always generated for %top
fixed :