contrib/flex: Drop local __dead2 patchUpstream flex has added a yynoreturn macro, so this diff is no longerneeded. Partially reverts r181269.Reviewed By: jkimDifferential Revision: https://revi
contrib/flex: Drop local __dead2 patchUpstream flex has added a yynoreturn macro, so this diff is no longerneeded. Partially reverts r181269.Reviewed By: jkimDifferential Revision: https://reviews.freebsd.org/D29679(cherry picked from commit d37f81e35b6e8f114b04315e06bab2cf0c03946c)
show more ...
lex: Use NULL instead of 0 for pointersNote araujo tried to fix it in r298241 but he only touched generatedfiles for bootstrap. This commit properly fixes the problem.(cherry picked from commit
lex: Use NULL instead of 0 for pointersNote araujo tried to fix it in r298241 but he only touched generatedfiles for bootstrap. This commit properly fixes the problem.(cherry picked from commit 34e67bb5977049afb3e965b52b86ac12ea4899b4)
lex: Do not let input() return 0 when end-of-file is reachedImporting flex 2.6.4 has introduced a regression: input() now returns 0instead of EOF to indicate that the end of input was reached, jus
lex: Do not let input() return 0 when end-of-file is reachedImporting flex 2.6.4 has introduced a regression: input() now returns 0instead of EOF to indicate that the end of input was reached, just liketraditional AT&T and POSIX lex. Note the behavior contradicts flex(1).See "INCOMPATIBILITIES WITH LEX AND POSIX" section for information.This incompatibility traces back to the original version and documentedin its manual page by the Vern Paxson.Apparently, it has been reported in a few places, e.g.,https://github.com/westes/flex/issues/448https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911415Unfortunately, this also breaks the scanner used by libdtrace anddtrace is unable to resolve some probe argument types as a result. SeePR253440 for more information.Note the regression was introduced by the following upstream commitwithout any explanation or documentation change:https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ffNow we restore the traditional flex behavior unless lex-compatibilitymode is set with "-l" option because I believe the author originallywanted to make it more lex and POSIX compatible.PR: 253440Reported by: markj(cherry picked from commit 6b7e592c215fb76ea027f25030ddc9a697184fbe)
[flex] Fix compilation issue under mips-gcc-6.4This was triggering a pointer-losing-constness error.
MFV: r362286Merge flex 2.6.4.