/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
usr.bin/lex/
..
PSD.doc

spelling fixes; from paul tagliamonte amendments to his diff are noted on tech

4 года назад
COPYING

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
ChangeLog

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
FlexLexer.h

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
Makefile

Move FlexLexer.h from /usr/include/g++ to /usr/include. It is not a g++-specific header and this matches most other systems. Needed to use flex++ with clang. OK espie@ kettenis@

9 лет назад
NEWS

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
ONEWS

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
README

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
buf.c

ansi

11 лет назад
ccl.c

ANSI-fy lex

2 года назад
config.h

declare HAVE_DECL___FUNC__ so flex_die() output can include __func__.

7 лет назад
dfa.c

ANSI-fy lex

2 года назад
ecs.c

ansi

11 лет назад
filter.c

ANSI-fy lex

2 года назад
flex.1

Use literal <> characters instead of Aq macros.

год назад
flex.skl

delete whitespaces that end up in output files

3 года назад
flexdef.h

ANSI-fy lex

2 года назад
flexint.h

delete whitespaces that end up in output files

3 года назад
gen.c

ANSI-fy lex

2 года назад
libmain.c

orbital strike from moonbase knf

11 лет назад
libyywrap.c

orbital strike from moonbase knf

11 лет назад
main.c

add missing option "-d" to flex(1)'s usage.

2 года назад
misc.c

ANSI-fy lex

2 года назад
mkskel.sh

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
nfa.c

ANSI-fy lex

2 года назад
options.c

we don't keep vim modelines in files

11 лет назад
options.h

we don't keep vim modelines in files

11 лет назад
parse.y

ANSI-fy lex

2 года назад
regex.c

flex_alloc and flex_free are nothing more than malloc and free, so replace them with the real functions so as to not trick people into thinking they are special

11 лет назад
scan.l

ANSI-fy lex

2 года назад
scanflags.c

flex_alloc and flex_free are nothing more than malloc and free, so replace them with the real functions so as to not trick people into thinking they are special

11 лет назад
scanopt.c

ANSI-fy lex

2 года назад
scanopt.h

we can just use void for functions that always return 0. from Michael W. Bombardieri

9 лет назад
sym.c

ANSI-fy lex

2 года назад
tables.c

spelling fixes; from paul tagliamonte amendments to his diff are noted on tech

4 года назад
tables.h

we don't keep vim modelines in files

11 лет назад
tables_shared.c

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
tables_shared.h

we don't keep vim modelines in files

11 лет назад
tblcmp.c

ANSI-fy lex

2 года назад
version.h

Update flex from ancient 2.5.4 to the recent 2.5.39. This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree

11 лет назад
yylex.c

ANSI-fy lex

2 года назад
README
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:
 
http://flex.sourceforge.net/
 
Bug reports should be submitted using the SourceForge Bug Tracker for
flex at:
 
http://sourceforge.net/tracker/?group_id=97492&atid=618177
 
The flex codebase is kept in git at:
 
https://github.com/westes/flex
 
There are several mailing lists available as well:
 
flex-announce@lists.sourceforge.net - where posts will be made
announcing new releases of flex.
 
flex-help@lists.sourceforge.net - where you can post questions about
using flex
 
flex-devel@lists.sourceforge.net - where you can discuss development of
flex itself
 
Find information on subscribing to the mailing lists at:
 
http://sourceforge.net/mail/?group_id=97492
 
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
repository:
 
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:
 
$ ./autogen.sh
 
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.
 
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.