Up to [local] / src / usr.bin / lex
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 26 19:16:01 2022 UTC (17 months, 2 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
HEAD
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 19 23:34:56 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
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,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.18: +17 -17 lines
Diff to previous 1.18 (colored)
Replace Char (defined as unsigned char) with u_char. ok tedu@
Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 19 23:20:34 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)
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
Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 19 23:04:51 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.16: +1 -20 lines
Diff to previous 1.16 (colored)
it should be safe to assume the presence of memset these days instead of implementing a local version.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 19 22:52:40 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.15: +389 -363 lines
Diff to previous 1.15 (colored)
orbital strike from moonbase knf
Revision 1.15 / (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.14: +689 -559 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Thu Oct 15 05:57:09 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)
Cast arguments of ctype functions to Char, a lexism defined as unsigned char. Part of a larger attempt to audit ctype function argument types with Coccinelle. ok deraadt@
Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 27 18:31:24 2013 UTC (10 years, 7 months ago) by guenther
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.12: +3 -3 lines
Diff to previous 1.12 (colored)
If a constant string needs a name, use a static const array instead of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@
Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 4 16:18:06 2006 UTC (18 years, 3 months ago) by miod
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,
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,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)
the the
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 4 17:34:44 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: 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,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.10: +19 -14 lines
Diff to previous 1.10 (colored)
Update flex license from sourceforge version (is now 2-term BSD)
Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 8 00:18:13 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)
string cleaning; ok tedu
Revision 1.9 / (download) - annotate - [select for diffs], Fri May 31 22:49:29 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.8: +11 -9 lines
Diff to previous 1.8 (colored)
recommit strlcpy/snprintf diff after i found my bug
Revision 1.8 / (download) - annotate - [select for diffs], Fri May 31 00:56:21 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +7 -9 lines
Diff to previous 1.7 (colored)
undo until i find my #line bug
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 30 10:53:44 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.6: +11 -9 lines
Diff to previous 1.6 (colored)
use strlcpy and snprintf
Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:14 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.5: +16 -16 lines
Diff to previous 1.5 (colored)
kill more registers millert@ ok
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 17 07:30:42 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.4: +12 -12 lines
Diff to previous 1.4 (colored)
Vern says: Yes, this came up a while ago, and I put together a flex release with a modified copyright that begins: Redistribution and use in source and binary forms, with or without modification, are permitted provided that: [...] feel free to update the copyrights in each of the files with the one in COPYING.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:30 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9,
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.3: +4 -4 lines
Diff to previous 1.3 (colored)
#if __STDC__ --> #ifdef __STDC__
Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 13 22:22:09 1996 UTC (27 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.2: +2 -2 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:38 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 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:31 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Initial revision