Warning GCC and Clang : Empty lines : %option '-L'#71
Warning GCC and Clang : Empty lines : %option '-L'#71dpasukhi wants to merge 1 commit intolexxmark:masterfrom
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 :