Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Use NULL instead of 0 for pointers.realloc will return NULL in case it cannot allocate memory.MFC after: 2 weeks.
Connect flex 2.5.37 to the build and bump __FreeBSD_version.
Unbreak the test target by re-generating the initial scannerusing an updated flex(1) binary.Also ignore the changing $FreeBSD$ ID lines when doing the diff.This needs additional obfuscation, to not upset the svn precommithooks :/
Let both yacc and lex generate code that passes -Wold-style-definition.Both these tools emit code where several functions have no `void'keyword placed in the arugment list when the function has no arguments.
De-register declarations.
Replace various spelling with FALLTHROUGH which is lint()able
Consistently use FBSDID
Removed duplicate VCS ID tags, as per style(9).
After a proper import we now have both the original RCS tags + our own.(also now clearer in ``cvs log'' that we are at version 2.5.4)
$Header$ -> $FreeBSD$
Upgrade to version 2.5.4 of flex.Inspired by: NetBSD/OpenBSD (I can't remember who I saw do it first, so I'll give them both some inspiration points. :)
Finish the import and merge in FreeBSD specific changes.Add a 'bootstrap' target which *must* be run before building the newversion, since the new scanner relies on the current version of flex tobuild itself otherwise.
Remove trailing whitespace.
This commit was generated by cvs2svn to compensate for changes in r2258,which included commits to RCS files with non-trunk default branches.
Flex version 2.4.7 from LBLReviewed by: Geoff.