Tree [f2aa9e] master /

File Date Author Commit
 doc 2014-11-14 Will Estes Will Estes [394133] Ignore directories build-aux/, m4/
 examples 2014-07-17 Yuri Yuri [8091dc] Removed deprecated 'register' storage class spe...
 lib 2014-04-02 Michael Haubenwallner Michael Haubenwallner [6c4299] Fix malloc/realloc replacement, bug#151.
 po 2014-02-15 Will Estes Will Estes [4c3209] Add make rule to rsync latest .po files from tr...
 src 2014-07-25 Mariusz Pluciński Mariusz Pluciński [f2aa9e] Fix `label unused` warning
 tests 2014-07-25 Mariusz Pluciński Mariusz Pluciński [f2aa9e] Fix `label unused` warning unknown
 tools 2014-02-14 Will Estes Will Estes [45fe3a] Add tools/ directory.
 .gitignore 2014-11-14 Will Estes Will Estes [394133] Ignore directories build-aux/, m4/ unknown
 AUTHORS unknown
 BUGS unknown
 COPYING unknown 2014-02-18 Will Estes Will Estes [5dbce3] move m4 make variable to src/
 NEWS 2014-06-11 Will Estes Will Estes [c979ed] update version number to 2.6.0-pre
 ONEWS unknown
 README 2014-02-13 Will Estes Will Estes [e2801a] list new location of flex git repo
 THANKS unknown
 TODO 2014-02-14 Will Estes Will Estes [5fa99c] remove some unneeded entries from the todo list unknown 2014-11-14 Will Estes Will Estes [d6dfc4] added back call to AC_CONFIG_AUX_DIR. 2014-03-26 Will Estes Will Estes [fcac15] initial default control file for shipper

Read Me

This is flex, the fast lexical analyzer generator.

flex is a tool for generating scanners: programs which recognize
lexical patterns in text.

More information about flex as well as the latest official release of
flex can be found at:

Bug reports should be submitted using the SourceForge Bug Tracker for
flex at:

The flex codebase is kept in git at:

There are several mailing lists available as well: - where posts will be made
announcing new releases of flex. - where you can post questions about
using flex - where you can discuss development of
flex itself

Find information on subscribing to the mailing lists at:

The flex distribution contains the following files which may be of interest:

README - This file.

NEWS - current version number and list of user-visible changes.

INSTALL - basic installation information.

ABOUT-NLS - description of internationalization support in flex.

COPYING - flex's copyright and license.

doc/ - user documentation.

examples/ - containing examples of some possible flex scanners and a
few other things. See the file examples/README for more details.

TODO - outstanding bug reports, desired features, etc.

tests/ - regression tests. See TESTS/README for details.

po/ - internationalization support files.

You need the following tools to build flex from the maintainer's

compiler suite - flex is built with gcc
bash, or a good Bourne-style shell
m4 - m4 -p needs to work; GNU m4 and a few others are suitable
GNU bison;  to generate parse.c from parse.y
autoconf 2.69; for handling the build system
automake 1.12.2; for Makefile generation
gettext 0.18; fori18n support
help2man 1.36; to generate the flex man page
tar, gzip, etc.; for packaging of the source distribution
GNU texinfo 498;  to build and test the flex manual
GNU indent 2.8; for indenting the flex source the way we want it done

Once you have all the necessary tools installed, life becomes
simple. To prepare the flex tree for building, run the script:

$ ./

in the top level of the flex source tree.
This script calls the various tools needed to get flex ready for the
GNU-style configure script to be able to work.

From this point on, building flex follows the usual configure, make,
make install routine.

This file is part of flex.

This code is derived from software contributed to Berkeley by
Vern Paxson.

The United States Government has rights in this work pursuant
to contract no. DE-AC03-76SF00098 between the United States
Department of Energy and the University of California.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.