OpenBSD CVS

CVS log for src/usr.bin/m4/tokenizer.l


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 17 01:55:16 2017 UTC (6 years, 11 months ago) by bcallah
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.9: +3 -1 lines
Diff to previous 1.9 (colored)

Don't need to link with -ll or -ly.
ok millert@ (who spotted and provided the -ll removal bits)

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 15 13:48:42 2017 UTC (6 years, 11 months ago) by bcallah
Branch: MAIN
Changes since 1.8: +6 -7 lines
Diff to previous 1.8 (colored)

Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+
Help and direction millert@ espie@ anton@ deraadt@

ok espie@

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 12 17:00:11 2012 UTC (12 years, 1 month ago) by espie
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, 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, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

new m4 -g stuff:
- expr(`4**3')
- include(`hey I am not there') keeps going.

work with Baptiste Daroussin, who had the idea but didn't nail all details
right.

okay otto@, miod@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 22 20:40:44 2010 UTC (14 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: 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.6: +15 -5 lines
Diff to previous 1.6 (colored)

add more gnum4 support: regexps do weird things with empty patterns (this
is required for newer autoconf).
fix the tokenizer for gnu extensions, allowing digits out of range is
ridiculous.
add POSIX2008 mkstemp and document it (also documenting that mktemp is
safe, not posix...)
tidy the manpage, do extra .Nm m4 -> .Nm.
okay otto@, miod@, jmc@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 21 21:00:14 2008 UTC (15 years, 9 months ago) by espie
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
Changes since 1.5: +36 -1 lines
Diff to previous 1.5 (colored)

gnu extension: 0rN:az   for  baseN numbers.

okay otto@

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 16 12:23:50 2008 UTC (15 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.4: +0 -35 lines
Diff to previous 1.4 (colored)

not yet, committed too much

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 16 12:21:46 2008 UTC (15 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.3: +36 -1 lines
Diff to previous 1.3 (colored)

argument parsing should only skip spaces outside of parenthesis.
Inside matching parenthesis, keep spaces as is (use chrsave instead of
pbstr, since there's no way it can be a further macro expansion).
Fixes a long-standing issue with autoconf (   --option -> --option),
matches other m4 than gnum4

okay millert@, fries@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 20 23:10:19 2006 UTC (18 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: 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, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

use stdint.h where appropriate. okay millert@

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 12 21:28:35 2004 UTC (20 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.1: +13 -15 lines
Diff to previous 1.1 (colored)

all numbers as one composite regexp.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 12 21:17:03 2004 UTC (20 years ago) by espie
Branch: MAIN

replace hand-made expr() parser with a lex/yacc affair that is shorter,
easier to understand and extend, and better conformant to Single Unix 3
(especially doing all arithmetic as int32_t).

Comments and approval millert@, otto@, fries@

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.