OpenBSD CVS

CVS log for src/usr.bin/lex/scanopt.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Wed May 31 07:20:26 2017 UTC (6 years, 11 months ago) by tedu
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, 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, HEAD
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 11 00:08:43 2015 UTC (8 years, 5 months ago) by mmcc
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.4: +2 -3 lines
Diff to previous 1.4 (colored)

Remove a few NULL-checks before free(). I've already removed these
upstream.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 20 00:05:02 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Cast two ctype args to u_char.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 19 23:34:56 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Replace Char (defined as unsigned char) with u_char.

ok tedu@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 19 22:16:43 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.1: +1 -4 lines
Diff to previous 1.1 (colored)

we don't keep vim modelines in files

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 19 19:43:40 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN

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.

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.