Up to [local] / src / usr.bin / m4
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_3
Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 28 14:37:12 2002 UTC (22 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)
Implement -s. Triggered by recent FreeBSD changes. - emits #line directives at every file change (like FreeBSD) - maintains a synch_lineno variable to verify when the output gets out of synch with the input, so that it can emit #line to re-synch as well (unlike FreeBSD) To do: either handle \end-of-line, or recognize when a macro expansion is in progress, so that line synch don't perturb cpp on multi-line expansions. With this, we should have a fully POSIX-compliant m4. ok miod@