History log of /freebsd-10.0-release/usr.bin/lex/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250881 21-May-2013 jkim

Connect flex 2.5.37 to the build and bump __FreeBSD_version.


240518 14-Sep-2012 eadler

Correct double "the the"

Approved by: cperciva
MFC after: 3 days


235853 23-May-2012 joel

Fix error reported by mandoc.


234101 10-Apr-2012 schweikh

Parenthesize args in yyless() and unput() replacement text
so they are safer when used with expressions.

MFC after: 1 week


228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


228394 10-Dec-2011 ed

Replace char copyright[] by static const char copyright[].

It seems the latter is used throughout the tree.


218909 21-Feb-2011 brucec

Fix typos - remove duplicate "the".

PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
MFC after: 3 days


215040 09-Nov-2010 uqs

Unbreak the test target by re-generating the initial scanner
using 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 precommit
hooks :/


214272 24-Oct-2010 uqs

flex: add missing ifdef magic to create/hide prototypes

This unbreaks build for some software with higher WARNS flags.

Reviewed by: rpaulo
PR: bin/139319 (parts already committed in previous revision)


213764 13-Oct-2010 rpaulo

Don't define the input() function ifdef YY_NO_INPUT.

This was previously done for the input() function.

Submitted by: Norberto Lopes <nblopes.ml at gmail.com>


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


201289 30-Dec-2009 ed

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.


181269 04-Aug-2008 cperciva

Mark functions as __dead2 in order to help the LLVM static checker
understand which code paths aren't possible.

This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".


179657 08-Jun-2008 dwmalone

I missed some "register"s in non-dot-C files.


179549 04-Jun-2008 dwmalone

De-register declarations.


172832 20-Oct-2007 ru

- Convert NO_INSTALLLIB option to a new syntax: makefiles should
test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old
NO_INSTALLLIB is still supported as several makefiles set it.

- While here, fix an install when instructed not to install libs
(usr.bin/lex/lib/Makefile).

PR: bin/114200
Submitted by: Henrik Brix Andersen


156854 18-Mar-2006 ru

Convert NO_PROFILE and NO_LIB32 to new style.


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


132862 30-Jul-2004 kan

Stop the practice of installing external headers into GCC-specific directory.
Install FlexLexer.h into /usr/include directly.


131764 07-Jul-2004 keramida

Correct a minor syntax mistake.

PR: docs/67458
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 3 days


126841 11-Mar-2004 josef

Replace <iostream.h> with <iostream> to remove annoying warning
of using deprecated header.

Approved by: dwhite, simon(mentor)
Reviewed by: mlaier
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: bin/63781


124186 06-Jan-2004 nectar

Mark a function as `unused' in generated code. (Sometimes it is used,
sometimes it is not, depending upon the input grammar.)


124183 06-Jan-2004 nectar

Work around a `label defined but not used' warning in *generated* code.


117427 11-Jul-2003 kan

Point to the new C++ include files location.


108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


108317 27-Dec-2002 schweikh

english(4) police.


103110 09-Sep-2002 obrien

Catch up with the ISO-C++ standard.

Submitted by: Craig Rodrigues <rodrigc@attbi.com>


102412 25-Aug-2002 charnier

Replace various spelling with FALLTHROUGH which is lint()able


99112 30-Jun-2002 obrien

Consistently use FBSDID


96462 12-May-2002 ru

Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".


93327 28-Mar-2002 ru

Back out rev. 1.6 (NOLIB bootstrap helper) OBE'd by Makefile.inc1,v 1.96.

PR: bin/36417
Submitted by: Eugene Grosbein <eugen@www.svzserv.kemerovo.su>


82224 23-Aug-2001 dd

``recognized -> recognize'' where appropriate.

Obtained from: OpenBSD


81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


80168 22-Jul-2001 assar

revert last commit. using %option nounput is better

noted by: Seth Kingsley <seth.kingsley@windriver.com>


80106 21-Jul-2001 assar

add an unused attribute to yyunput to avoid warnings (errors) when
it's not being used


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79634 12-Jul-2001 ru

Eliminate troff(1) warnings that were hiding some useful text.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


54732 17-Dec-1999 bde

Install Flexlexer.h with mode 444.


53462 20-Nov-1999 dt

Generate skel.c at build time.


52573 27-Oct-1999 obrien

Add more verbage explaining the "-I" option and its behavior.

Submitted by: Archie Cobbs <archie@whistle.com>


52555 27-Oct-1999 obrien

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)


52554 27-Oct-1999 obrien

Add $FreeBSD$'s


50488 28-Aug-1999 peter

$Header$ -> $FreeBSD$


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


39870 01-Oct-1998 dt

Backed out "fix for PR 7575". It was bogus.


38314 14-Aug-1998 phk

/usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++,
but flex still generates "#include <FlexLexer.h". As a result,
C++ sources flex generates failed to be compiled.

PR: 7575
Reviewed by: phk
Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp>


36878 11-Jun-1998 thepish

Submitted by: Peter Hawkins thepish@freebsd.org
Small man page fix (missing ']' in [:alpha:] example)


35703 04-May-1998 bde

Simplified by using new yacc rules. The new lex rules can't be used
here, at least without ifdefs for the bootstrap.


30113 05-Oct-1997 jkh

Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>


28930 30-Aug-1997 jmg

fix misspelling

Submitted-by: Josh Gilliam

Closes PR:4428


27040 29-Jun-1997 pst

NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).


24806 11-Apr-1997 obrien

Add ``%{'' and ``%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20410 14-Dec-1996 steve

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. :)


19245 29-Oct-1996 peter

Clean up some loose ends on my previous work in here..


18372 19-Sep-1996 peter

Clean up dependencies a bit (we were not doing a depend on scan.c)

Make the 'bootstrap' target work a little better.


17467 07-Aug-1996 peter

Move tsort back to lib-tools where it belongs, and add a "specially
for bootstrap" tweak to the lex Makefile to stop it building the library
too early.

This untangles things a bit more, it stops new bootstraps failing because
libl/libfl uses 'ld -O' before ld is updated.


16528 19-Jun-1996 nate

Whoops, forgot one FreeBSD specific change necessary for the lex .mk
macros to work.


16519 19-Jun-1996 nate

Finish the import and merge in FreeBSD specific changes.

Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.


16515 19-Jun-1996 nate

This commit was generated by cvs2svn to compensate for changes in r16514,
which included commits to RCS files with non-trunk default branches.


15679 07-May-1996 wosch

``mv'' -> ``mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root


14238 24-Feb-1996 joerg

Now that we install the `flex' alias for our lex, we should also
install the `libfl' alias for libl. Some third-party software will
expect it this way.

Submitted by: Holm tiffe (holm@geophysik.tu-freiberg.de)


14045 12-Feb-1996 mpp

Another round of man page cleanups.

Down to only about 100 items left to cleanup! :-)


13343 08-Jan-1996 peter

Add some links to lex (flex, flex++ etc) that some of the gnu autoconf
scripts check for. (when looking explicitly for flex..)
Also, do some man links for the commands under their alternate names.
Install the c++ FlexLexer.h file as per the "XXX TODO" comment.


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


8874 30-May-1995 rgrimes

Remove trailing whitespace.


2309 27-Aug-1994 csgr

Change references to flex(1) and flexdoc(1) to lex(1) and
lexdoc(1).
Submitted by: geoff


2307 27-Aug-1994 csgr

Do not install as flex
Submitted by: Geoff


2285 25-Aug-1994 wollman

We really, really /don't/ want to have a shared lex library. Also,
current users should note that the old 1.1.5 lex can't process the
new scan.l, so you have to copy initscan.c to obj/scan.c before it will
build.


2259 24-Aug-1994 csgr

This commit was generated by cvs2svn to compensate for changes in r2258,
which included commits to RCS files with non-trunk default branches.