./devel/flex, Fast clone of lex(1), the lexical scanner generator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.6.4, Package name: flex-2.6.4, Maintainer: pkgsrc-users

flex is a tool for generating scanners: programs which recognized
lexical patterns in text. flex reads the given input files, or its
standard input if no file names are given, for a description of a
scanner to generate. The description is in the form of pairs of
regular expressions and C code, called rules. flex generates as
output a C source file, lex.yy.c, which defines a routine yylex().
This file is compiled and linked with the -lfl library to produce an
executable. When the executable is run, it analyzes its input for
occurrences of the regular expressions. Whenever it finds one, it
executes the corresponding C code.


Required to build:
[converters/help2man]

Master sites:

SHA1: fafece095a0d9890ebd618adb1f242d8908076e1
RMD160: 6439e82ff51698202a71a91f85d4eaad8a3fa10c
Filesize: 1385.836 KB

Version history: (Expand)


CVS history: (Expand)


   2017-10-20 08:22:24 by =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= | Files touched by this commit (1) | Package updated
Log message:
Add workaround for fixing build on Linux

See https://github.com/westes/flex/issues/241
The problem is fixed in master branch and the workaround could be removed
in the next version update.
   2017-07-24 16:34:50 by Maya Rashish | Files touched by this commit (1)
Log message:
flex: add workaround for netbsd-8 which segfaults during the build
   2017-07-24 16:19:06 by Jonathan A. Kollasch | Files touched by this commit (5) | Package removed
Log message:
Update flex to 2.6.4.

Upstream news:

* Noteworthy changes in release 2.6.4 (2017-05-06) [stable]

** build

*** The indent target now knows about flex's new (as of 2.6.0)
    layout. The indent rules it would apply are not correct and do
    need to be fixed.

*** The files included in the flex distribution are now built by the
    version of flex that is included in the distribution.

*** The configure script has a better idea of which headers are
    required to build flex. It will also error when missing functions
    are detected.

*** We have lowered the versions of automake and gettext that
    configure.ac lists as required for building flex. In autogen.sh,
    we now check for how to call libtoolize and use what we find in
    the rest of the script.

*** Since files in lib/ are picked up as needed by src/, we no longer
    generate a Makefile for that directory.

*** Flex can be cross compiled.

** documentation

*** Some typos were removed from the manual.

** scanner

*** Some minor performance enhancements.

*** We honor user defined yy_* macros again. We are also more careful
    to not leak macro definitions into header files.

*** A number of portability fixes were introduced so building flex is
    more reliable on more platforms. Additionally, outdated function
    calls were removed.

*** When building the flex executable itself, %# comments from
    flex.skl are removed when generating the C source code array. This
    reduces the size of flex.

** test suite

*** All scripts in the test suite are now run by $(SHELL) and the
    needed portability fixes have been included.

*** Test suite dependencies are handled much better. This only matters
    if you are actively developing flex or its test suite.

*** Tests that depend on platform dependent features now properly skip
    when those platforms are not present.

*** When running "make check", you can now pas V=0 to silence more of
    the build. This is useful when you're less connncerned about the
    details of building and linking the test programs themselves.
   2017-07-24 12:07:44 by Maya Rashish | Files touched by this commit (3) | Package updated
Log message:
flex: apply upstream commit to avoid redefining yywrap.
we are still redefining some.

bump pkgrevision
   2017-01-12 17:53:22 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Remove now unneeded patch, lilypond seems to build fine without it.

Bump PKGREVISION.
   2017-01-01 14:53:16 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
Updated flex to 2.6.3.

* version 2.6.3 released 2016-12-30

** scanner

*** several bug fixes resolved problems introduced in recent flex
    versions regarding processing of comments, literals and various
    quoting scenarios.

*** If the path to m4 was sufficiently long, a buffer overflow could
    occur. This has been resolved. The fix also removes dependence on
    the constant PATH_MAX.

** build

*** A new configure option --disable-bootstrap changes the behavior of
    the build system when building flex. The default
    "--enable-bootstrap" behavior is to build flex, then to use that
    flex to build flex again. With --disable-bootstrap, the scanner is
    simply built by sedding the scanner source. This is friendlier to
    cross compilation.

*** The compatibility functions in lib/ are no longer built as a
    library. Instead, they are built as $(LIBOBJ) objects. This is
    simpler and friendlier to cross compilation.

*** It is now possible to build flex without building the accompanying
    libfl. This is friendlier to cross compilation. See the
    --disable-libfl option to configure. Resolves #99.

*** the PIC version of libfl was not correctly built. It is no longer
    included in the build/installation targets of flex since it was
    unused.

*** the distributed man page is only rebuilt when the relevant source
    files change or when the binary doesn't exist. In particular, this
    is friendlier to cross compilation. Resolves #108

** test

*** the shell scripts in the test suite are more portable across different shell \ 
implementations.
   2016-12-13 21:51:42 by Sebastian Wiedenroth | Files touched by this commit (4)
Log message:
Revert "Pull in three commits from upstream"

Modifying '.l' files creates a dependency on flex itself.
   2016-12-13 18:07:23 by Sebastian Wiedenroth | Files touched by this commit (4)
Log message:
Pull in three commits from upstream
mainly related to https://github.com/westes/flex/issues/113
"v2.6.2 introduces behavior change that is incompatible with previous \ 
versions"

This fixes at least doxygen