Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-09 | tweak flex.1 a bit to not mention atoi/atof: they don't add value here | Omar Polo | |
ok miod@ | |||
2024-11-09 | ANSI-fy lex | Omar Polo | |
while here remove the unused function action_m4_define() and two unused variables: `opt' in scanopt_err() and `num' in filter_fix_linedirs() ok miod@ | |||
2023-10-21 | delete whitespaces that end up in output files | Theo de Raadt | |
2022-12-26 | spelling fixes; from paul tagliamonte | Jason McIntyre | |
amendments to his diff are noted on tech | |||
2021-11-30 | Fix indentation of return in yy_try_NUL_trans(). | Todd C. Miller | |
M4_YY_NOOP_GUTS_VAR is a no-op in most cases but its indentation remains, leading to double indentation of the return statement. This fixes "misleading indentation" warnings from clang. OK tb@ | |||
2021-06-23 | substantially shorten the usage() message | Theo de Raadt | |
pieces by jmc, pieces by me | |||
2021-03-08 | Add some references, most of these were removed when we stopped building | Jonathan Gray | |
and installing USD/SMM/PSD docs. jmc@ agrees with the direction, ok millert@ on an earlier diff | |||
2020-12-03 | grammar fixes from Varik "The Genuine Article!!!" Valefor; | Jason McIntyre | |
2020-08-06 | Wow, the indentation is totally messed up, to the point where compilers | Theo de Raadt | |
complain (actually useful this time) ok millert | |||
2019-10-31 | declare HAVE_DECL___FUNC__ so flex_die() output can include __func__. | miko | |
ok millert@ | |||
2019-09-22 | Apply a patch from upstream to avoid triggering assert() in sf_pop() | miko | |
when input contains an unbalanced ')' in the rules section. ok millert@ | |||
2019-09-16 | fix lex build to actually get assert under proper conditions. | Marc Espie | |
from Michael Mikonos okay millert@ | |||
2017-08-30 | Remove unused variable; no binary change. | Lawrence Teo | |
From Michael W. Bombardieri, thanks! | |||
2017-08-17 | combine malloc/memset into calloc. from Michael W. Bombardieri | Ted Unangst | |
2017-08-17 | delete some not used code. from Michael W. Bombardieri | Ted Unangst | |
2017-05-31 | we can just use void for functions that always return 0. | Ted Unangst | |
from Michael W. Bombardieri | |||
2017-05-02 | Update yy_buf_size after yyrealloc(). The fix has been merged | Todd C. Miller | |
upstream as well. | |||
2017-04-30 | Move FlexLexer.h from /usr/include/g++ to /usr/include. It is not | Todd C. Miller | |
a g++-specific header and this matches most other systems. Needed to use flex++ with clang. OK espie@ kettenis@ | |||
2017-04-12 | isblank() is ANSI C since C99, no need to provide a replacement. | Todd C. Miller | |
OK deraadt@ | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. | |||
2016-12-25 | Add some {}'s to eliminate "ambiguous else" warnings from gcc. | Kenneth R Westerback | |
ok tb@ millert@ | |||
2016-12-18 | Nuke more unused variables. | Kenneth R Westerback | |
ok millert@ | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2015-12-11 | Remove a few NULL-checks before free(). I've already removed these | mmcc | |
upstream. | |||
2015-11-22 | remove the init files that we don't build. if they are ever needed for | Ted Unangst | |
bootstrapping, they are available in the attic, but they clutter up the directory. | |||
2015-11-22 | return to size_t typedef for yy_size_t. | Ted Unangst | |
kettenis found and fixed the bug in the ld lexer. | |||
2015-11-21 | change type of yy_size_t back to int for now. we have some prebuilt | Ted Unangst | |
lexers under gnu/ that define it this way, leading to badness. fuller assessment and repairs probably forthmcoming. discovered by deraadt on BE64 architectures (sparc64). ok deraadt | |||
2015-11-20 | switch back to yaccing parse.y, it seems to work. | Ted Unangst | |
2015-11-20 | ansi | Ted Unangst | |
2015-11-20 | Always use the system m4; OK tedu@ | Todd C. Miller | |
2015-11-20 | Back out rev 1.22 which somehow had unreported merge conflicts. | Todd C. Miller | |
2015-11-20 | Always use the system m4. | Todd C. Miller | |
2015-11-20 | Cast two ctype args to u_char. | mmcc | |
2015-11-19 | burn down all the gratutious alloca() compatability that autofuck injected | Ted Unangst | |
to ensure nobody uses alloca by accident. | |||
2015-11-19 | make sure parse.c depends on initparse.c | Ted Unangst | |
2015-11-19 | remove the LGPL gettext.h since we aren't using it anyway. | Ted Unangst | |
spotted by nicm | |||
2015-11-19 | split out some variable initialization to be easier | Ted Unangst | |
2015-11-19 | Replace Char (defined as unsigned char) with u_char. | mmcc | |
ok tedu@ | |||
2015-11-19 | it is not necessary to cast the result of malloc/calloc. | Ted Unangst | |
also replace some 0s with the modern concept of NULL | |||
2015-11-19 | flex_alloc and flex_free are nothing more than malloc and free, so replace | Ted Unangst | |
them with the real functions so as to not trick people into thinking they are special | |||
2015-11-19 | it should be safe to assume the presence of memset these days instead of | Ted Unangst | |
implementing a local version. | |||
2015-11-19 | remove VMS and MSDOS support | Ted Unangst | |
2015-11-19 | mechanical knf | Ted Unangst | |
2015-11-19 | orbital strike from moonbase knf | Ted Unangst | |
2015-11-19 | typically indentation decreases after a block is closed | Ted Unangst | |
2015-11-19 | repair some of the preposterously damaged indentation | Ted Unangst | |
2015-11-19 | we don't keep vim modelines in files | Ted Unangst | |
2015-11-19 | add back flex++.1 link noticed by sthen | Ted Unangst | |
2015-11-19 | Update flex from ancient 2.5.4 to the recent 2.5.39. | Ted Unangst | |
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 This is a huge change, so it's going in the tree code bomb style. I'm not excited about the growth in complexity (like now running m4 to _post_ process lexers) but hopefully this will be a one time update and we will now take "ownership" of the code. | |||
2015-10-15 | Cast arguments of ctype functions to Char, a lexism defined as unsigned | mmcc | |
char. Part of a larger attempt to audit ctype function argument types with Coccinelle. ok deraadt@ |