OpenBSD CVS

CVS log for src/usr.bin/lex/flex.skl


[BACK] Up to [local] / src / usr.bin / lex

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 21 14:09:15 2023 UTC (6 months, 4 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

delete whitespaces that end up in output files

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 30 15:50:06 2021 UTC (2 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix indentation of return in yy_try_NUL_trans().
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@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 6 17:23:29 2020 UTC (3 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.16: +11 -8 lines
Diff to previous 1.16 (colored)

Wow, the indentation is totally messed up, to the point where compilers
complain (actually useful this time)
ok millert

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 2 19:16:19 2017 UTC (7 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Update yy_buf_size after yyrealloc().  The fix has been merged
upstream as well.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 22 19:55:22 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

return to size_t typedef for yy_size_t.
kettenis found and fixed the bug in the ld lexer.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Nov 21 13:25:12 2015 UTC (8 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

change type of yy_size_t back to int for now. we have some prebuilt
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

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 19 19:43:40 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.12: +2625 -729 lines
Diff to previous 1.12 (colored)

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

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.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 4 17:03:32 2013 UTC (10 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.11: +12 -12 lines
Diff to previous 1.11 (colored)

Use proper ANSI function definitions for functions that take no
arguments.  Avoids warnings when -Wold-style-definition is used.
OK deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 4 18:24:50 2010 UTC (13 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.10: +6 -2 lines
Diff to previous 1.10 (colored)

Add missing #ifndef YY_NO_INPUT around the input() function when
"%option noinput" is specified.  OK deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 26 14:38:19 2007 UTC (17 years, 3 months ago) by tsi
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Fix flex bug introduced by my prior commit.

Problem reported by STeve Andre' via jakob@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 16 14:43:28 2007 UTC (17 years, 4 months ago) by tsi
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

Eliminate gcc -Wundef warnings in flex-generated code.

ok miod@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 9 11:38:31 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

make sure errno gets declared for C++ as well.
okay millert@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 3 21:20:17 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
Changes since 1.6: +13 -13 lines
Diff to previous 1.6 (colored)

bring some standard C++ fixes, mostly from NetBSD.
get isatty proto from the right place.
avoid malloc.h

okay otto@, millert@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 5 18:26:23 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

Restore errno in yy_init_buffer() since it may get trounced by the
call to isatty().  Fixes PR #1606.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:28 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 10 22:22:00 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.3: +32 -22 lines
Diff to previous 1.3 (colored)

Flex 2.5.4

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 13 22:21:58 1996 UTC (27 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +30 -8 lines
Diff to previous 1.2 (colored)

updated to flex 2.5.3

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:35:32 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:30 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:30 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.