* doc/m4.texinfo (Patsubst): Re-add trailing space required by
[m4.git] / ChangeLog
blobe113a549ed27e2ad0cb23315c83707ad86249512
1 2005-03-31  Erik Blake  <ebb9@byu.net>  (tiny change)
3         * doc/m4.texinfo (Patsubst): Re-add trailing space required by
4         checks/47.patsubst, with a redundant @comment to prevent emacs
5         from removing it accidentally again.
6         * checks/get-them: Allow for trailing spaces tucked behind
7         @comment marks.
9 2005-03-31  Erik Blake  <ebb9@byu.net>  (tiny change)
11         * doc/Makefile.in (install, uninstall): Accomodate DESTDIR.
12         * src/Makefile.in (install, uninstall): Likewise.
14 2005-02-07  Gary V. Vaughan  <gary@gnu.org>
16         * lib/regex.c, lib/regex.h:  Reverted gnulib update, which broke
17         on Cygwin.
18         Reported by Eric Blake <ebb9@byu.net>
20 2005-02-04  Gary V. Vaughan  <gary@gnu.org>
22         * lib/regex.c, lib/regex.h: Updated from gnulib.
23         * src/input.c (set_word_regexp):  Don't change the word_regexp
24         unless it compiles correctly.
25         * NEWS: Updated.
26         Reported by Frank Schwidom <schwidom@impernet.de>
28         * Makefile.in (stamp-h): Regenerate config.h properly.
30 2005-02-03  Gary V. Vaughan  <gary@gnu.org>
32         * configure.ac (AC_DEFINE): Fix overquoting of description
33         argument.
35         * src/m4.h (__CYGWIN__, WIN32): Canonicalise Windows and Cygwin
36         recognition macros.
37         * src/freeze.c (produce_frozen_state): Use \n line-endings even
38         on Windows, so that the frozen file reader will work.
39         Reported by Josef T. Burger <bolo@bolo.com>
41         * src/m4.c (main): Modernise the --version output.
43 2005-02-03  Gary V. Vaughan  <gary@gnu.org>
45         Modernise the configury a little to prevent spurious errors from
46         Autoconf-2.59's autoreconf:
48         * config.h.in: Renamed to...
49         * config-h.in: ...this to better support DOS 8.3 file systems.
50         * acconfig.h: Removed.
51         * configure.in: Renamed to...
52         * configure.ac: ...this, and AC_DEFINE used to declare config.h
53         entry comments.  Slight reorganisation and reformatting.
54         * aclocal.m4: Use third argument to AC_DEFINE to declare config.h
55         entry comments.
56         (AC_INIT): Use a modern 3 argument call.
57         * Makefile.in, checks/Makefile.in, doc/Makefile.in,
58         examples/Makefile.in, lib/Makefile.in, src/Makefile.in:
59         s/PRODUCT/PACKAGE/g.
60         * Makefile.in (DISTFILES): Removed acconfig.h, configure.in,
61         config.h.in.  Added configure.ac, config-h.in.
62         (stamp-h.in): Removed acconfig.h from dependencies.
63         (configure): Depends on configure.ac, not configure.in.
64         * doc/Makefile.in (stamp-vti): Ditto.
65         * src/freeze.c (produce_frozen_state), src/m4.c (main): Adjust for
66         difference between PRODUCT="m4" and PACKAGE="GNU M4".
67         * configure: Regenerated.
69 2005-02-03  Noah Misch  <noah@cs.caltech.edu>
71         * src/output.c (mkstemp): Make non-static, and build regardless of
72         HAVE_TMPFILE; src/builtin.c also needs this replacement.
73         * NEWS: Update.
75 2004-09-09  Vincent Lonngren  <Vincent.lonngren.759@student.lu.se>
77         * configure.in (AC_CHECK_HEADERS): Commit works best when you save
78         changes from your editor buffer first.
80         * configure.in (AC_CHECK_HEADERS):  Add signal.h, sys/signal.h.
81         * src/m4.c: And include them as appropriate.
82         * NEWS: Updated.
84 2004-09-09  Andreas Schwab  <schwab@suse.de>
86         Refactoring of the string read case in next_char provides about a
87         20% speedup of M4 as typically used by autoconf:
89         * src/input.c (next_char_1): Renamed from next_char.
90         (next_char): New macro.
91         * NEWS: Updated.
93 2004-08-21  Gary V. Vaughan  <gary@gnu.org>
95         * configure.in (VERSION): Bump to 1.4.2a.
97 2004-08-19  Paul Eggert  <eggert@twinsun.com>
99         * Release 1.4.2.
101         * configure.in (VERSION): Bump to 1.4.2.
102         * News: Describe 1.4.2's changes.
104         * src/m4.c (reference_error): Preserve errno, since M4ERROR
105         relies on this.
106         * src/builtin.c (m4_esyscmd): Clear errno before calling popen.
107         (m4_maketemp): Clear errno before calling mkstemp.
108         * src/path.c (path_search): Don't let "free" trash errno when
109         returning NULL.
110         * src/output.c (insert_file): Don't assume errno has a valid
111         value simply because fread returns zero.  This fixes a
112         portability bug reported by Marion Hakanson in
113         <http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html>.
115 2004-06-09  Gary V. Vaughan  <gary@gnu.org>
117         * configure.in (VERSION): Bump to 1.4.1a.
118         * NEWS: Place holder for next stable release.
120 2004-06-03  Paul Eggert  <eggert@cs.ucla.edu>
122         * Release 1.4.1.
124         * configure.in (VERSION): Bump to 1.4.1.
125         * NEWS: Describe 1.4.1's changes.
127         * aclocal.m4 (fp_PROG_CC_STDC): Use AC_DEFUN, not define, to
128         pacify Autoconf 2.59.
130         * doc/m4.texinfo: Insert commas after @xref's that lack them,
131         to pacify Texinfo 4.7.
132         * doc/Makefile.in (info): Remove info-1, info-2, info-3.
134         * src/m4.h, src/debug.c: Use #ifdef __STDC__, not #if __STDC__, to
135         pacify Sun C compilers.
137 2003-09-28  Akim Demaille  <akim@epita.fr>
139         * src/symtab.c (lookup_symbol): Fix an uninitialized-variable
140         botch.
142 2003-09-03  Santiago Vila  <sanvila@debian.org>
144         * examples/stackovf.sh: Use tempfile if available.
146 2001-04-02  Robert Bihlmeyer  <robbe@orcus.priv.at>
148         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=92629
149         * src/output.c (m4_insert_file): Do not mix buffered and
150         unbuffered I/O, as this breaks on the Hurd.  (trivial change)
152 2001-02-01  Santiago Vila  <sanvila@debian.org>
154         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=84451
155         * src/m4.c (main): Fix format vulnerabilities.  (trivial change)
157 2001-02-01  Matt Kraai  <kraai@debian.org>
159         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=84416
160         * doc/m4.texinfo (Maketemp): Change maketemp to refer to a new,
161         empty file rather than to a nonexistent file.  This closes a common
162         security hole.
163         * src/builtin.c (m4_maketemp): Implement the above, by using
164         mkstemp rather than mktemp.  (trivial change)
166 2000-01-09  Akim Demaille  <demaille@inf.enst.fr>
168         * src/builtin.c (expand_ranges): Added break after trailing dash.
169         This caused misbehaviors on some systems.
171 Sat Nov  5 15:52:47 1994  Francois Pinard  (pinard@icule)
173         * Release 1.4.
175         * doc/Makefile.in (realclean): Also remove stamp-vti.
176         Reported by Eric Backus.
178 Wed Nov  2 00:47:53 1994  Francois Pinard  (pinard@icule)
180         * src/freeze.c (produce_frozen_state): If the frozen file cannot
181         be opened, return immediately after producing the error message.
182         Reported by Andreas Schwab.
184         * configure.in: Check for const only after having found possible
185         ANSIfying compiler flags, this is of no use to check it before.
186         Reported by Alexander Lehmann.
188 Tue Nov  1 22:02:37 1994  Francois Pinard  (pinard@icule)
190         * src/macro.c (collect_arguments): Cast obstack arguments to
191         (voidstar), so avoiding compiler warnings.
192         Reported by Joseph E. Sacco.
194         * src/freeze.c (produce_frozen_state): Cast printed lengths to
195         (int) so they correspond to %d format items.
196         Reported by Joseph E. Sacco.
198         * src/m4.c (main): Cast the argument to xfree to (voidstar).
199         * src/symtab.c (free_symbol): Idem.
200         Reported by Karl Vogel.
202 Mon Oct 31 02:11:19 1994  Francois Pinard  (pinard@icule)
204         * Makefile.in (DISTFILES): Distribute BACKLOG.
206         * configure.in: Define PRODUCT and VERSION.
207         * acconfig.h: Document PRODUCT and VERSION.
208         * src/m4.c, src/freeze.c: Use PRODUCT and VERSION instead of the
209         constant string m4 and variable or parameter named version.
211 Sun Oct 30 08:13:03 1994  Francois Pinard  (pinard@icule)
213         * src/m4.h, src/debug.c: Replace all #ifdef __STDC__ by #if
214         __STDC__.  Alliant FX/2800 Concentrix 2.2 (i860-BSD4.3) compiler
215         defines __STDC__ to 0, for indicating it is *not* ANSI!
216         Reported by Kaveh R. Ghazi.
218         * configure.in: Added obsolescent tests for AIX and Minix.
220         * doc/Makefile.in (mostlyclean): Remove texclean in dependencies,
221         which texclean does not exist anymore.
222         Reported by Eric Backus, Jim Meyering, John David Anglin and
223         Joseph E. Sacco.
225 Sat Oct 29 05:10:03 1994  Francois Pinard  (pinard@icule)
227         * aclocal.m4 (fp_C_PROTOTYPES): Force -D_HPUX_SOURCE with -Aa.
228         Reported by John David Anglin.
230         * src/ansi2knr.c: New version, sent by Peter Deutsch.
231         * aclocal.m4 (fp_C_PROTOTYPES): Substitute empty or ansi2knr for
232         ANSI2KNR, depending on the fact the compiler is ANSI or not.
233         * src/Makefile.in: Use -Ovarargs=convert on ansi2knr calls.
234         Remove the sed filter after ansi2knr for debug.c.  Use $O instead
235         of $U, put underline in extensions rather than in basenames.  Use
236         implicit rules, now that regularity makes this possible.
237         Have $(OBJECTS) depend on $(ANSI2KNR), so to trigger compilation
238         of ansi2knr whenever it is needed.
239         * configure.in: Adjusted for correct STACKOVF substitution.
240         * src/debug.c (trace_format): When not __STDC__, use (...) as a
241         parameter list, so ansi2knr will convert it to (va_alist) va_dcl.
242         Reported by David MacKenzie.
244         * Makefile.in: Remove binprefix.  Use transform_name instead.
245         Reported by David MacKenzie.
247         * doc/Makefile.in: Create version.texi, use it, clean it.
248         Reported by Jim Meyering.
250 Fri Oct 28 20:33:55 1994  Francois Pinard  (pinard@icule)
252         * Makefile.in (all, install, uninstall): Depend on Makefile.
254         * Makefile.in: For actions invoking $(MAKE) from within compound
255         sh statements, exit non-zero if the sub-make fails.  Otherwise,
256         the top-level make may exit successfully when it should fail.
257         Reported by Jim Kingdon.
259         * {,/*}Makefile.in: Use && after all cd, in case they fail.
261         * {,*/}Makefile.in: Declare PRODUCT and VERSION macros.
262         (dist): Use PRODUCT and VERSION instead of tricks on .fname.
263         * configure.in: Substitute PRODUCT and VERSION.
265         * {,*/}Makefile.in (dist): Always try a hard link before a copy.
267 Thu Oct 27 22:32:58 1994  Francois Pinard  (pinard@icule)
269         * Makefile.in (mostlyclean-local): Do not remove *~.
270         * */Makefile.in (mostlyclean): Idem.
271         Reported by Robert E. Brown and Richard Stallman.
273 Sun Oct  9 08:30:13 1994  Francois Pinard  (pinard@icule)
275         * src/m4.h: Get rid of CONFIG_BROKETS.
277 Sun Oct  2 16:48:10 1994  Francois Pinard  (pinard@icule)
279         * configure.in: Use AC_ARG_PROGRAM.
280         * aclocal.m4 (fp_C_PROTOTYPES): Substitute @kr@ by kr or empty.
281         Reported by David MacKenzie.
283 Sat Oct  1 11:22:42 1994  Francois Pinard  (pinard@icule)
285         * configure.in: Do not add -O to CFLAGS for GNU C, now that
286         configure does it automatically.
287         Reported by Jim Meyering.
289 Fri Sep 23 08:16:58 1994  Francois Pinard  (pinard@icule)
291         * src/stackovf.c: Declare the handler_t typedef earlier in the
292         code, use it for stackovf_handler.
293         (setup_stackovf_trap): Use RETSIGTYPE instead of void while
294         casting sigsegv_handler.
295         Reported by Robert Bernstein.
297         * src/m4.c (main): Initialize program_name to argv[0] without
298         basename'ing it.
299         Reported by Karl Berry.
301 Sun Sep 18 11:42:50 1994  Francois Pinard  (pinard@icule)
303         * src/Makefile.in (TAGS): Include a ../lib/TAGS reference.
304         Reported by Karl Berry.
306 Wed Sep 14 10:00:22 1994  Francois Pinard  (pinard@icule)
308         * lib/Makefile.in (mostlyclean): Added.
309         (TAGS): Make in $(srcdir).
311         * configure.in: Use `choke me' in test, like everywhere!
313         * {doc,examples,lib,src}/Makefile.in (check): Deleted, as
314         unreacheable and useless.
316         * doc/Makefile.in (texclean): Deleted, merged in mostlyclean.
318         * lib/Makefile.in (DISTFILES): Distribute TAGS.
319         (distclean): Do not remove TAGS.
320         (realclean): Remove it.
321         * Makefile.in: Make TAGS in lib also, not just in src.
322         Reported by Karl Berry.
324         * Makefile.in (distclean, realclean): Instead of recursively
325         calling $(MAKE) for the -local part, allow parallel execution of
326         -recursive and -local, only delay the removal of config.status,
327         which is repeated in both goals.
329 Tue Sep 13 19:21:05 1994  Francois Pinard  (pinard@icule)
331         * Release 1.3.
333         * Makefile.in: Group all *clean-recursive goals in one, using sed
334         to remove `-recursive' while calling make recursively.  Also, use
335         a subshell for each recursive $(MAKE).
336         Reported by Jim Meyering.
338         * src/m4.h (memcpy): Define with bcopy for BSD systems.
339         Reported by Kaveh R. Ghazi.
341         * src/Makefile.in (ansi2knr): Use $(LIBS) while linking, for SunOS
342         4.1.3 requires -ldl to link even ansik2nr, and we need a way to
343         specify it.
345         * configure.in: Use date instead of touch for stamp-h.
346         * Makefile.in (stamp-h.in): Idem.
348         * Makefile.in (distclean, realclean): Force serial execution of
349         both goals, in case parallel makes are being used.
350         Reported by Jim Meyering.
352         * src/Makefile.in (DISTFILES): Distribute TAGS.
353         (distclean): Do not remove TAGS.
354         (realclean): Remove it.
355         Reported by Karl Berry.
357 Sat Sep 10 12:34:04 1994  Francois Pinard  (pinard@icule)
359         * configure.in: Use fp_ to match aclocal.m4.  Revert _OS_ macros
360         to old names, for following Autoconf.
362 Thu Sep  8 15:07:27 1994  Francois Pinard  (pinard@icule)
364         * Makefile.in (MDEFINES): Remove INSTALL substitutions, for
365         ./install.sh will not be correctly referred to in sub-Makefiles.
366         Reported by John David Anglin.
368         * doc/Makefile.in (texclean): Remove *.cps and *.fns too.
369         Reported by Eric Backus.
371         * Makefile.in, checks/Makefile.in, doc/Makefile.in,
372         examples/Makefile.in, lib/Makefile.in, src/Makefile.in: Limit
373         config.status into remaking this directory's Makefile only.
374         * Makefile.in (stamp-h): Do not check nor touch stamp-h.
375         * configure.in (AC_OUTPUT): Touch stamp-h if CONFIG_HEADERS.
376         Reported by Jim Meyering.
378 Tue Sep  6 12:07:33 1994  Francois Pinard  (pinard@icule)
380         * configure.in: Correct stack overflow detection logic, taking
381         care of systems having only incomplete implementations (like for
382         Pyramid 9820 OSx 5.0d).
383         Reported by Kaveh R. Ghazi.
385         * src/Makefile.in (TAGS): Remote -t from etags call.
387 Fri Sep  2 10:37:10 1994  Francois Pinard  (pinard@icule)
389         * lib/Makefile.in (install): Depend on all.
391 Wed Aug 31 11:17:21 1994  Francois Pinard  (pinard@icule)
393         * examples/Makefile.in (mostlyclean): Do not depend on texclean.
394         Reported by Jim Meyering and John David Anglin.
396         * Makefile.in (distclean-local): Delete config.log.
397         Reported by Jim Meyering.
399         Solidify frozen files with respect to -P:
400         * src/m4.c: Have -P set prefix_all_buitins variable instead of
401         calling a function by that name.  Declare the variable.
402         * src/m4.h: Adjust declaration for prefix_all_buitins.
403         * src/builtin.c (builtin_init): Merge in functionality from
404         previous prefix_all_buitins function, while making entries in the
405         symbol table, but not modifying the builtin description itself.
407         * src/freeze.c (reload_frozen_state): Add a useless `break;',
408         because *many* compilers do not accept an empty `default:'.
409         Reported by Akiko Matsushita, Eric Backus, John David Anglin,
410         Joseph E. Sacco, Kaveh R. Ghazi, Tom McConnell and Ulrich Drepper.
412         * configure.in: Use AC_TYPE_SIGNAL.
413         * src/stackovf.c (setup_stackovf_trap): Use RETSIGTYPE.
414         Reported by Robert Bernstein.
416         * checks/Makefile.in (check): Modify PATH so check-them will find
417         m4 in the src directory.
418         * Makefile.in (check): Don't.
419         Reported by Akiko Matsushita and Jim Meyering.
421         * src/output.c (make_room_for, output_character_helper): New
422         functions, for implementing a global MAXIMUM_TOTAL_SIZE instead of
423         a per buffer MAXIMUM_BUFFER_SIZE.
425         * src/output.c (output_text): New function, for optimizing the
426         output of strings of characters.  Use it.
428 Tue Aug 30 01:44:29 1994  Francois Pinard  (pinard@icule)
430         * doc, src: New directories reorganizing the distribution.
431         * doc/Makefile.in, src/Makefile.in, examples/Makefile.in: New
432         files.
433         * Makefile.in: Adjusted.
434         * configure.in: Configure new Makefiles.
436         * m4.h: Declare STRING typedef.  Use it for comment and quote
437         strings, adjusting all references.  (This is the rudiments of a
438         beginning for the eventual withdrawal of NUL terminated strings.)
439         * output.c (shipout_text): Accept a length parameter, and use it.
440         All callers adjusted.
442 Mon Aug 29 12:27:19 1994  Francois Pinard  (pinard@icule)
444         * m4.h: Include <unistd.h> if it exists.
445         * stackovf.c: Don't.
447         Clean up for current_diversion variable:
448         * output.c: Move current_diversion from builtin.c.
449         * m4.h: Declare current_diversion so builtin.c can access it.
450         * output.c (output_init, make_diversion): Initialize or update
451         current_diversion.
452         * builtin.c (builtin_init, m4_divert): Leave current_diversion
453         alone.
455         Remove limit on number of diversions:
456         * output.c: Replace ndiversion by diversions, declare it.
457         (output_init): Allocate only diversion 0.
458         (make_diversion): Allocate new diversions as needed.
459         * m4.h, m4.c: Remove NDIVERSIONS and ndiversion related stuff.
460         * m4.c: Still accept -N, but do nothing with it.
461         Reported by David MacKenzie.
463         Freeze diversions:
464         * output.c (freeze_diversions): New function.
465         * m4.h: Declare freeze_diversions.
466         * freeze.c: Document frozen file format, revise it, call
467         freeze_diversions to add diversions to frozen format, and code to
468         reload them properly.
469         * m4.c: Do not undivert automatically at end when status being
470         frozen.  Do not call builtin_init when reloading frozen state.
472         Speed up diversion processing:
473         * output.c: Add INITIAL_BUFFER_SIZE, MAXIMUM_BUFFER_SIZE,
474         COPY_BUFFER_SIZE, in-memory diversion buffers, struct diversion
475         structure and variables, cached variables out of output_diversion,
476         reallocate_diversion_for and OUTPUT_CHARACTER.
477         (shipout_text, make_diversion, insert_diversion): Adapted to new
478         structures.
479         (insert_file): Use better buffering.
480         Reported by David MacKenzie.
482 Sun Aug 28 05:20:02 1994  Francois Pinard  (pinard@icule)
484         * Makefile.in, lib/Makefile.in, checks/Makefile.in: Arrange so
485         dist works from another build directory.
487 Sat Aug 27 14:32:45 1994  Francois Pinard  (pinard@icule)
489         * symtab.c (hack_all_symbols): Use hash_table_size instead of
490         constant HASHMAX, for -H option to work better.
492         * builtin.c (DECLARE): Simplify by using _ ().
494         * freeze.c: New file.
495         * Makefile.in: Compile it, distribute it.
496         * m4.c: Recognize, document and process --freeze-state (-F) and
497         --reload-state (-R) options.  Pass a true flag to builtin_init
498         only if no reloading some state.
499         * builtin.c (define_builtin): Remove static specifier.
500         (find_builtin_by_name): Remove static specifier.
501         (builtin_init): Accept and obey a flag argument.
502         * m4.h: Add declarations for freeze.c, changes for builtin.c.
504 Wed Aug 24 16:14:19 1994  Francois Pinard  (pinard@icule)
506         * builtin.c (dumpdef_cmp): Rewrite so the cast protect the const
507         specifier.
509         * configure.in: Implement --with-dmalloc.
510         * acconfig.h: Document WITH_DMALLOC.
511         * m4.h: Add code for when WITH_DMALLOC.
513 Mon Aug 15 12:38:05 1994  Francois Pinard  (pinard@icule)
515         * m4.c (long_options): Use "error-output", the dash was missing.
516         Reported by Akiko Matsushita.
518 Fri Aug 12 16:38:01 1994  Francois Pinard  (pinard@icule)
520         * m4.h: Include <sys/types.h>.
521         * builtin.c, debug.c, m4.c, output.c, stackovf.c: Don't.
522         * m4.h: Declare len_lquote and len_rquote as size_t, not int.
523         int.
524         * input.c: Declare len_lquote, len_rquote, len_bcomm and len_ecomm
525         as size_t, not int.
526         * builtin.c (dump_args): Declare len as size_t, not int.
528         * debug.c: Prototype the forward declaration of debug_set_file.
530         * builtin.c (m4_undivert):  Replace div by file, for avoiding the
531         shadowing of this variable.
532         * output.c (insert_diversion): Idem.
534         * input.c: Delete def_rquote, def_lquote, def_bcomm and def_ecomm.
535         (input_init): Duplicate default quote and comment strings.
536         (set_quotes): Free previous quote strings in all cases.  Duplicate
537         even default quote strings.
538         (set_comment): Free previous comment strings in all cases.
539         Duplicate even default comment strings.
541         * configure.in: Updated for Autoconf 2.0.
542         * Makefile.in (distclean-local): Also delete config.cache.
544         * m4.c (usage): Reorganize the --help output by topic.  Include a
545         description for debugging flags.
547 Fri Jul 29 10:15:52 1994  Francois Pinard  (pinard@icule)
549         * configure.in: If sigaction is available and SA_ONSTACK defined,
550         use sigaction.  Otherwise, if sigvec is available and SV_ONSTACK
551         defined, use sigvec.  Else don't compile stackovf.c.
552         * stackovf.c (setup_stackovf_trap): Idem.
553         Reported by Jim Avera, Karl Berry, Kaveh R. Ghazi, Matthias Rabe
554         and Simon Leinen.
556 Thu Jul 21 22:43:17 1994  Francois Pinard  (pinard@icule)
558         * m4.c (usage): Replace printf par fputs.
560 Mon Jul 18 23:48:23 1994  Francois Pinard  (pinard@icule)
562         * Release 1.2
564 Sun Jul 17 08:08:25 1994  Francois Pinard  (pinard@icule)
566         * configure.in: Check for sigaction and sigvec.  Add a new delayed
567         check for RLIMIT_STACK, combine in the checking for getrlimit.
568         All those things are not universally available.
569         * stackovf.c: Split setting up the trap handler and catching
570         signals, for better taking care of various configure outcomes.
571         * examples/stackovf.sh: Correct a typo.
572         Reported by Eric Backus, Jim Avera and Jim Meyering.
574 Sat Jul 16 20:36:19 1994  Francois Pinard  (pinard@icule)
576         * ansi2knr.c: New version sent by its author, Peter Deutsch.
578 Fri Jul 15 14:36:21 1994  Francois Pinard  (pinard@icule)
580         * Makefile.in: Modify so parallel make will not try making
581         lib/libm4.a twice simultaneously.
582         Reported by Jim Meyering.
584 Thu Jul 14 17:23:17 1994  Francois Pinard  (pinard@icule)
586         * stackovf.c (setup_stackovf_trap): Replace "Don't" by "Do not" in
587         error message, for when no code possibility exists.  Even if this
588         line is completely #ifdef'ed out, it brings a syntax error.
589         Reported by Andreas Schwab, Jim Meyering and Joseph E. Sacco.
591         * Makefile.in (install): Have install depend on all too, for lib
592         to be remade as needed.
594         * examples/stackovf.sh: Try ksh, bsh and bash for shells
595         providing ulimit, instead of using only ksh.
596         Reported by Jim Avera and Joseph E. Sacco.
598 Tue Jul 12 06:54:31 1994  Francois Pinard  (pinard@icule)
600         * Makefile.in (check): Have it depend on all instead of m4.  In
601         this way, a change in lib will be detected and processed.
603         * builtin.c (numeric_arg): Use strtol and verify the conversion,
604         instead of using sscanf which stops as soon as there is a
605         non-digit in the input.  Previously, incr(1xyzzy), eval(1,2xyzzy)
606         and divert(1xyzzy) were all accepted without any warning or error
607         messages.
608         * m4.h: Declare strtol as long if not including stdlib.h.
609         * configure.in: Check for limits.h, and replace strtol if missing.
610         * lib/Makefile.in: Substitute LIBOBJS.  Distribute strtol.c.
611         * lib/strtol.c: New file, from elsewhere.
612         Reported by Andreas Schwab.
614 Thu Jul  7 22:38:10 1994  Francois Pinard  (pinard@icule)
616         * macro.c (expand_macro): Cast value to (boolean) prior to
617         assigning it to traced.
618         Reported by Tom McConnell.
620         * Makefile.in (m4): Always make all in lib first.
621         Reported by Jim Meyering.
623 Wed Jul  6 13:16:31 1994  Jim Avera (jima@netcom.com)
625         * stackovf.c: Isolated OS-dependent sections; Improved portability,
626         adding support for SunOS/BSD (sigvec, sigstack, and 4-parameter signal
627         handlers), and a default error message if the fault address is not
628         available (when neither siginfo.h nor BSD sigcontext are supported).
629         * configure.in: Changes for stackovf.h: Check for sigcontext,
630         sigaction, sigstack, and define rlim_t as int if necessary.
631         * acconfig.h: Added HAVE_SIGCONTEXT and rlim_t.
632         * examples/stackovf.sh: Run m4 -L99999999 to allow stack overflow.
633         * ansi2knr.c: Fix for func-ptr args; convert "..." to varargs syntax.
635 Tue Jul  5 19:13:54 1994  Francois Pinard  (pinard@icule)
637         * configure.in: Use AC_SET_MAKE.
638         * Makefile.in: Use @SET_MAKE@.
639         Reported by Jim Meyering.
641         * checks/check-them: Do not trap on SIGQUIT or SIGALRM.
642         Reported by Ian Taylor.
644 Sat Jul  2 00:58:47 1994  Francois Pinard  (pinard@icule)
646         * configure.in: Remove dependency of USE_STACKOVF on STDC_HEADERS,
647         because siginfo.h is unrelated to standard headers, and siginfo.h
648         is already checked for.
649         Reported by Joseph E. Sacco.
651         * acconfig.h, aclocal.m4, m4.h: Replace HAVE_PROTOTYPES by
652         PROTOTYPES.
653         * aclocal.m4, configure.in: Replace AC_HAVE_PROTOTYPES by
654         AC_PROTOTYPES.
656 Wed Jun 29 22:41:53 1994  Francois Pinard  (pinard@icule)
658         * builtin.c (substitute): Use \& to represent this part of the
659         string which was matched by the whole regexp, instead of
660         representing the whole string.  Any usage of \0 issues a warning
661         and acts like \&, it will disappear in some subsequent release.
663 Mon Jun 27 14:24:23 1994  Francois Pinard  (pinard@icule)
665         * m4.c: Complete prototype for forwarded declaration of usage.
667         * input.c (init_macro_token): Correct own reference in error
668         message.  Previous name get_macro_func was referred to instead.
669         (next_char):  Correct own reference in error message.  Previous
670         name advance_input was referred to instead.
672         * m4.h: Declare eval_t and unsigned_eval_t typedefs to 32 bits.
673         * eval.c (logical_or_term, logical_and_term, or_term, xor_term,
674         and_term, not_term, logical_not_term, cmp_term, shift_term,
675         add_term, mult_term, exp_term, unary_term, simple_term): Add
676         prototype to forwarded declarations.  Declare parameter v1 as
677         eval_t * instead of int *.  Same for local variable v2 in dyadic
678         functions.  Same for result in exp_term.
679         * builtin.c (m4_eval): Declare value as eval_t instead of int.
680         (ntoa): Declare value as eval_t instead of int.  Declare uvalue as
681         unsigned_eval_t instead of unsigned int.  Change casts accordingly.
682         (shipout_int): Cast first argument of ntoa to eval_t.
683         Reported by Thorsten Ohl.
685         * macro.c: Complete the prototypes of forwarded expand_macro and
686         expand_token.
687         Reported by Thorsten Ohl.
689         * m4.h: Define voidstar as void * or char * depending on __STDC__.
690         The Ultrix 3.1 compiler cannot do much with void pointers.
692         * builtin.c (dumpdef_cmp): Replace void * by voidstar.
693         * m4.c (xfree):  Replace void * by voidstar.
694         Reported by Tom McConnell.
696         * ansi2knr.1: New, from elsewhere.
697         * Makefile.in (DISTFILES): Distribute ansi2knr.1
699         * Makefile.in (stamp-h.in): Avoid running ./config.status if
700         stamp-h does not exist yet.  This avoids running it a second time
701         just after the initial ./configure.
702         Reported by David MacKenzie and Tom McConnell.
704         * m4.h: Replace the enum debug_info declaration with a series of
705         #define's.  The Ultrix 3.1 compiler would otherwise need casting
706         (int) to most references, when used in expressions.
707         Reported by Tom McConnell.
709 Sat Jun 25 00:10:05 1994  Francois Pinard  (pinard@icule)
711         * aclocal.m4: Replace FP_PROTOTYPES by AC_HAVE_PROTOTYPES,
712         following an idea from Brook G. Milligan.  AC_HAVE_PROTOTYPES
713         calls the compiler.  Previously, FP_PROTOTYPES was only calling
714         the preprocessor; by not being subject to CFLAGS, this was
715         discouraging those flags asking for ANSI compilation.
716         * acconfig.h: Document HAVE_PROTOTYPES.
717         * configure.in: Use AC_HAVE_PROTOTYPES instead of FP_PROTOTYPES.
718         * m4.h: Define _() according to HAVE_PROTOTYPES, not __STDC__.
719         Reported by Eric Backus.
721         * configure.in: Substitute CFLAGS and LDFLAGS, taking their value
722         from the environment.  Default CFLAGS to -g if not set.
723         * Makefile.in: Have CFLAGS and LDFLAGS substituted from configure.
724         * lib/Makefile.in: Have CFLAGS substituted from configure.
725         Reported by Eric Backus and Tom McConnell.
727         * configure.in: m4_undefine changeword before using AC_ENABLE.
729         * m4.h: Declare prototypes for error (for ANSI compilers only),
730         prefix_all_builtins and reference_error.
731         Reported by Tom McConnell.
733         * input.c (set_word_regexp): Do not try to initialize the array
734         test from a string, this does not work with non-ANSI compilers.
735         Reported by Eric Backus.
737         * Makefile.in (dist): Clean examples/ before saving it.
738         (distclean-local): Also remove stamp-h.
739         Reported by Eric Backus.
741         * Makefile.in (_stackovf.c): Goal for compiling stacokovf.c with
742         non ANSI compilers.
743         Reported by Tom McConnell.
745         * checks/Makefile.in (clean): Depends on mostlyclean.
746         (mostlyclean): New goal.
748 Fri Jun 24 23:30:31 1994  Francois Pinard  (pinard@icule)
750         * Makefile.in (DISTFILES): Distribute install.sh.
751         * install.sh: New file, copied from elsewhere.
752         Reported by Assar Westerlund and Kaveh R. Ghazi.
754 Thu Jun 23 00:00:30 1994  Francois Pinard  (pinard@icule)
756         * configure.in: Define ENABLE_CHANGEWORD if --enable-changeword.
757         * acconfig.h: Explain ENABLE_CHANGEWORD.
759         [These modifs all depend upon ENABLE_CHANGEWORD and are adapted
760         from code provided by Pete Chown]
761         * m4.h: Add original_text field to u_t variant of union u.
762         Declare TOKEN_DATA_FUNC macro.
763         * builtin.c: Declare changeword.
764         (m4_changeword): New function.
765         * input.c: Include "regex.h", define variables with word regexps.
766         (input_init): Initialize the word regexp.
767         (set_word_regexp): New.
768         (next_token): Declare local variables, use the previous code if
769         default_word_regexp is true.  Else, match using a new code.  Save
770         the original text.
771         * macro.c (expand_token): Ship out original text if not a macro
772         name.
773         Reported by Krste Asanovic and Pete Chown.
775         [These modifs all depend upon ENABLE_CHANGEWORD]
776         * m4.h: Declare external user_word_regexp.
777         * m4.c: Declare user_word_regexp, and initialize it from
778         --word-regexp or -W, or NULL if not specified.
779         * input.c: Use user_word_regexp if specified, instead of
780         DEFAULT_WORD_REGEXP.
782         * Makefile.in (m4): Revert Jan 3 1994 change.  I'm unable to
783         agree with it.
785         * Makefile.in, lib/Makefile.in: Limit suffixes to .c and .o.
786         * checks/Makefile.in: Empty the suffix list.
787         Reported by Geoff Russell, Joel Sherrill and Roland McGrath.
789         * m4.c: Declare nesting_limit and initialize it to 250.
790         Implement -LNUMBER or --nesting-limit=NUMBER to change its
791         value.
792         * m4.h: Declare nesting_limit as external.
793         * macro.c (expand_macro): Stop execution whenever nesting limit
794         is exceeded.
795         Reported by Bengt Mertensson.
797         * eval.c (evaluate): Diagnose excess characters in eval input.
798         Things like `eval(08)' used to return 0 with no diagnostic.
800         * m4.h: Capitalize first letter of all macro arguments in
801         definitions.
803         * m4.c: Declare warning_status, initialize it to 0.  Add new
804         option -E, or --fatal-warnings, which sets warning_status to
805         EXIT_FAILURE instead.
806         * m4.h: Declare external warning_status.  Define EXIT_SUCCESS and
807         EXIT_FAILURE if not otherwise done by header files.
808         * m4.c: Delete declarations for EXIT_SUCCESS and EXIT_FAILURE.
809         * m4.c, input.c, output.c, symtab.c, builtin.c, macro.c, debug.c,
810         eval.c: Replace 0 by warning_status and 1 by EXIT_FAILURE in first
811         argument of all M4ERROR calls.
812         Reported by Noah Friedman.
814         * examples/incl-test.m4: Renamed from incl_test.m4.
815         * examples/include.m4: Include incl-test.m4 instead of
816         incl_test.m4.
817         * examples/multiquotes.m4: Renamed from multi-quotes.m.
819 Wed Jun 22 21:58:54 1994  Francois Pinard  (pinard@icule)
821         * configure.in: Avoid USE_STACKOVF if <siginfo.h> not found.  Note
822         that Jim developped stackovf.c on a 486 running SVR4.0 (ESIX), and
823         also tested it on a Sun Sparc workstation running SunOS 4.x.
825         * format.c (format): When not HAVE_EFGCVT, m4 was failing the
826         49.format check, abusing a `union values' argument with sprintf
827         without selecting the proper field.  Now, save the formatting type
828         first, delaying the fetch of the corresponding argument.
829         Reported by Joseph E. Sacco and Tom Quinn.
831         * format.c (format): Remove const from char *fmt declaration when
832         not HAVE_EFGCVT, because a NUL may be forced into it.
834         * m4.h: Declare atof() when not STDC_HEADERS.
835         Reported by Joseph E. Sacco.
837         * Regenerate configure using Autoconf 1.11, this corrects a
838         problem about an incorrect cpp seting on NeXT 3.1.
839         Reported by Alexander Lehmann.
841 Sun Jun  5 16:25:19 1994  Francois Pinard  (pinard@icule)
843         * m4.h (_): Change argument from `x' to `Args'.
845 Wed May  4 23:59:39 1994  Francois Pinard  (pinard@icule)
847         * Makefile.in: Remove all occurrences of $(MFLAGS), which were
848         bringing more evil than good on a few systems.
849         Reported by Greg A. Woods.
851 Fri Apr 22 15:59:35 1994  Francois Pinard  (pinard@icule)
853         * m4.h: Rename Args() to _().
854         * m4.h: Remove extern specifier from all function declarations.
856 Fri Apr 22 15:51:21 1994  Jim Avera (jima@netcom.com)
858         * stackovf.c: New file implementing stack-overflow detection.
859         * configure.in: Check for getrlimit, sigaction.  If all of
860         standard headers, getrlimit and sigaction, define USE_STACKOVF and
861         substitute ${U}stackovf.o for STACKOVF.
862         * acconfig.h: Declare USE_STACKOVF.
863         * Makefile.in: Distribute stackovf.c, link with $(STACKOVF).
864         * m4.h: Declare setup_stackovf_trap().
865         * m4.c: Call setup_stackovf_trap().
866         * tests/stackovf_test.sh: New file.
868 Wed Apr 13 14:10:30 1994  Francois Pinard  (pinard@icule)
870         * checks/Makefile.in: Rename .all-stamp to stamp-checks.
872         * Makefile.in (Makefile, etc.): Adapt for Autoconf 1.8.
874 Sun Jan 30 14:24:19 1994    (pinard at icule)
876         * m4.h: Remove definition of volatile, not used anymore.
877         Reported by Jim Meyering and Joseph E. Sacco.
879         * m4.h: Consistently use `do { ... } while (0)' in macros, instead
880         of `if ... else /* nothing */' for if macros.
881         Reported by Jim Meyering.
883         * builtin.c (m4_regexp): Reorganize the code for avoiding a
884         warning from gcc about `repl' possibly used before defined.
885         Reported by Jim Meyering.
887         * m4.h: Avoid a pre-ANSI <memory.h> together with <string.h>.
888         Reported by Jim Meyering.
890 Tue Jan 25 18:39:37 1994  Francois Pinard  (pinard at icule)
892         * m4.h: Move the conditional definition of volatile after the
893         inclusion of system files, because they may define it first.
895 Tue Jan  4 19:46:50 1994  Francois Pinard  (pinard@icule)
897         * checks/Makefile.in (CHECKS): Add a useless `*' before `[', to
898         get around a problem with Alpha make seeing a syntax error, there.
899         Reported by Vern Paxson.
901 Mon Jan  3 00:21:45 1994  Francois Pinard  (pinard@icule)
903         * Makefile.in: Do not define LDFLAGS, use CFLAGS on link calls.
904         Reported by Richard Stallman.
906 Sat Dec 25 08:06:05 1993  Francois Pinard  (pinard@icule)
908         * configure.in: Correct test for strerror, AC_FUNC_CHECK was used
909         instead of AC_HAVE_FUNCS.
910         Reported by Noah Friedman.
912 Wed Dec  1 09:37:53 1993  Francois Pinard  (pinard@icule)
914         * m4.c: Initialize show_help and show_version to zero.
916         * m4.c: Ensure EXIT_SUCCESS and EXIT_FAILURE are defined.
917         Use them in exit() and usage() calls.
919 Sat Nov 27 10:43:24 1993  Francois Pinard  (pinard@icule)
921         * m4.h: Delete extern sys_nerr, sys_errlist declarations, and
922         syserr() macro.  Delete errref, add reference_error and M4ERROR.
923         * m4.c: Replace errref, which was returning an input reference
924         string, with reference_error, which prints it on standard error.
925         * builtin.c, output.c: Use errno as second parameter to error,
926         instead of using syserr() with %s.
927         * *.c: Use M4ERROR instead of error: no more errref() with %s.
928         Doing so, the program name appears after the input reference
929         instead of before, which eases M-x next-error processing.
931 Wed Nov 24 22:16:15 1993  Francois Pinard  (pinard@icule)
933         * checks/get-them: Escape braces with backslashes in patterns,
934         because HPUX-9.01 awk needs this.
935         Reported by Jim Meyering.
937 Mon Nov 22 10:55:52 1993  Francois Pinard  (pinard@icule)
939         * builtin.c: Declare "FILE *popen ();".
941         * m4.h: Remove MESSAGE{,1,2}, WARNING1, FATAL{,1}, INTERNAL_ERROR
942         macros, replace error_message_prefix() declaration by errref()'s.
943         Declare xrealloc, for use in errref().
944         * m4.c: Delete error_message_prefix() function, add errref().
945         * *.c: Use error() systematically in place of all error macros,
946         now that error() flushes stdout first.  Make needed adjustments.
948         * m4.h: Remove const in sys_errlist[] declaration, it creates
949         conflicts on SGI and Alpha.
950         Reported by Kaveh R. Ghazi.
952 Sat Nov 20 08:26:15 1993  Francois Pinard  (pinard@icule)
954         * m4.c: Include <getopt.h> instead of "getopt.h".
956         * configure.in: Output to config.h.  Use HAVE_FUNCS preferably.
957         * acconfig.h: New, for documenting HAVE_EFGCVT.
958         * Makefile.in: Distribute acconfig.h, .stamp-h.in and config.h.in,
959         use them wherever appropriate.  Also use -I. for compilations.
960         * lib/Makefile.in: Use -I.. for compilations.
961         * *.c: Include <config.h> or "config.h".
963         * m4.h: Test for HAVE_MEMORY_H instead of NEED_MEMORY_H.
964         * configure.in: Use AC_HAVE_HEADERS(memory.h), delete AC_MEMORY_H.
966 Wed Nov 17 09:34:55 1993  Francois Pinard  (pinard@icule)
968         * builtin.c (m4_eval): Cast strlen to (int) before comparing.
970         * input.c (input_init): Initialize quote and comment strings
971         explicitely instead of calling set_quotes and set_comment: by
972         doing so, we ensure we do not free uninitialized variables.
974         * checks/check-them: Reverse arguments to both diff, so the
975         expected is on the left and the obtained on the right.
977         * m4.h: Add MESSAGE{,1,2}, WARNING1, FATAL{,1} and INTERNAL_ERROR
978         macros. Delete declarations for m4error, warning, fatal and
979         internal_error, add declaration for error_message_prefix.
980         * m4.c:  Delete m4error, warning, fatal and internal_error
981         routines, add error_message_prefix routine.
982         * *.c: Replace m4error routine calls with MESSAGE* macro calls,
983         warning with WARNING*, fatal with FATAL* and internal_error with
984         INTERNAL_ERROR*.
985         * Makefile.in (_m4.c): Do not adjust ansi2knr output for va_alist,
986         this is not needed anymore.
988         * m4.h: Declare extern FILE *debug.  Add DEBUG_PRINT{1,3} and
989         DEBUG_MESSAGE{,1,2} macros.  Delete declarations for debug_print
990         and debug_message, add declaration for debug_message_prefix.
991         * debug.c: Remove static specifier for FILE *debug declaration.
992         Delete debug_print and debug_message routines, add
993         debug_message_prefix routine.
994         * builtin.c, debug.c: Replace debug_print routine calls with
995         DEBUG_PRINT* macro calls.
996         * input.c, path.c: Replace debug_message routine calls with
997         DEBUG_MESSAGE* macro calls.
999         * m4.h: Remove inclusion of <varargs.h>.
1000         * debug.c: Include <stdarg.h> or <varargs.h>.
1001         (trace_format): Use stdarg instead of varargs if __STDC__.
1003         * configure.in: Remove checks for vfprintf and _doprnt.  These
1004         implementations use varargs tricks which are not portable enough.
1005         * lib/vfprintf.c: Deleted.
1006         * lib/_doprnt.c: Deleted.
1007         * lib/Makefile.in: Adjusted accordingly.  Remove LIBOBJS.
1008         Reported by Joel Sherrill.
1010         * path.c (add_include_directory): Use xstrdup.
1012         * builtin.c (find_builtin_by_name): Declare static.
1014         * *.[ch]: Add const to a few "char *" declarations.
1016         * configure.in: Remove commented tests for fileno() and fstat().
1017         * debug.c: Remove comments about HAVE_FILENO and HAVE_FSTAT.
1019         * debug.c (debug_flush_files): New.
1020         * m4.h: Declares it.
1021         * builtin.c (m4_syscmd, m4_esyscmd): Use it.
1022         Reported by Nicolas Pioch.
1024 Fri Nov 12 10:02:26 1993  Francois Pinard  (pinard@icule)
1026         * Makefile.in (m4.dvi): Use m4.texinfo instead of m4.texi.
1027         Reported by Joel Sherrill.
1029         * builtin.c (prefix_all_builtins): Instead of the table size, use
1030         the null entry at end for stopping the loop.  It was overwritten.
1031         Reported by Andreas Schwab and Jim Meyering.
1033         * builtin.c (prefix_all_builtins): Cast xmalloc to (char *).
1034         Reported by Kaveh R. Ghazi.
1036         * macro.c (call_macro): Add * in (*SYMBOL_FUNC (sym)) (...).
1037         Reported by Karl Vogel.
1039 Tue Nov  9 09:31:47 1993  Francois Pinard  (pinard@icule)
1041         * m4.h: Do not define volatile if already defined.
1042         Reported by Rene' Seindal.
1044         * lib/Makefile.in: Add a forgotten ALLOCA=@ALLOCA@.  Grrr!
1046         Reported by Bernhard Daeubler, Eric Backus, Hal Peterson, Hoang
1047         Uong, Ian Taylor, Kaveh R. Ghazi, Tom McConnell and Walter Wong.
1049 Mon Nov  8 21:11:44 1993  Francois Pinard  (pinard@icule)
1051         * m4.h: Define strchr and strrchr in terms of index and rindex,
1052         instead of the other way around.
1053         * builtin.c, m4.c, path.c: Use strchr instead of index.
1055         * input.c (next_char): Remove a "break;" after a "return ...;".
1056         Reported by Tom McConnell.
1058 Mon Nov  8 12:45:34 1993  Francois Pinard  (pinard@icule)
1060         * Release 1.1
1062         * configure.in: Do not copy check files in the build hierarchy.
1063         * checks/check-them: Identify the m4 version being checked.  For
1064         finding m4, look in $PATH instead of in the parent directory.
1065         * Makefile.in (check): Prepend `pwd` to $PATH before checking.
1066         * checks/Makefile.in (.all-stamp): Always create check files in
1067         the source hierarchy, not anymore in the build hierarchy.
1068         (check): cd to the source hierarchy before performing checks.
1069         Do not copy nor clean COPYING anymore, take it from `..'.
1070         Reported by Tom McConnell.
1072         * Makefile.in (Makefile): Use $(SHELL).
1073         (config.status): Use $(SHELL).  Use "config.status --recheck"
1074         instead of "configure --no-create", which is obsolete.
1075         Reported by Tom McConnell.
1077 Fri Nov  5 09:49:30 1993  Francois Pinard  (pinard@compy.IRO.UMontreal.CA)
1079         * m4.c (usage): Use "%s" instead of "m4" in format string.
1080         Reported by Jim Meyering.
1082         * Makefile.in: Distribute mkinstalldirs.
1083         Reported by Pierre Gaumond.
1084         Reported by Jim Meyering.
1085         Reported by Tom McConnell.
1086         Reported by Andreas Gustafsson.
1088         * checks/check-them: Renamed from checks/check_them.
1089         * checks/get-them: Renamed from checks/get_them.
1090         * checks/.all-stamp: Renamed from checks/.all_stamp.
1091         * checks/Makefile.in: Changed accordingly.
1092         Reported by Jim Meyering.
1094 Thu Nov  4 13:50:52 1993  Francois Pinard  (pinard@lagrande.IRO.UMontreal.CA)
1096         * lib/Makefile.in (dist): Correct permissions on files.
1098         * output.c: Declare tmpfile, some systems don't.
1100 Wed Nov  3 09:09:16 1993  Francois Pinard  (pinard@icule)
1102         * checks/Makefile.in (dist): Correct permissions on files.
1104         * Makefile.in (dist): Ensure recursive linking for subdirectory
1105         `examples', also set read/write permissions on all its files.
1107         * mkinstalldirs: New, from elsewhere.
1108         * Makefile.in: Use it.
1110         * debug.c: Synchronize debug messages and regular output when
1111         the debug file and stdout are redirected to the same file.
1112         * configure.in: Add (commented) checks for fileno and fstat.
1113         Reported by Jim Avera.
1115         * builtin.c (m4_ifelse): Diagnose excess arguments if 5, 8, 11,
1116         etc., arguments, then ignore the superfluous one.  m4 used to
1117         diagnose missing arguments and return the empty string.
1118         Reported by Nick S. Kanakakorn.
1120 Tue Nov  2 00:55:41 1993  Francois Pinard  (pinard@icule)
1122         * m4.c (main): At end of all input, ensure all undiverted text
1123         goes to the main output stream.
1124         Reported by Andreas Gustafsson.
1126         * m4.c (main): exit (0), instead of return 0.
1128         * m4.c: Implement -P and --prefix-builtins.
1129         * builtin.c: Delete const specifier on builtin_tab.
1130         (prefix_all_builtins): New.
1131         Reported by Noah Friedman.
1132         Reported by Scott Bartram.
1134         * c-boxes.el: New, from elsewhere.
1135         * Makefile.in: Distribute it.
1137         * m4.h: Do not define bcopy if <string.h> defines it.
1138         Reported by Stephen Perkins.
1140         * builtin.c (define_macro): Allow a missing second argument, in
1141         which case it is implied empty.  Affects define and pushdef.
1142         Reported by Eric Allman.
1144 Mon Nov  1 07:45:24 1993  Francois Pinard  (pinard@icule)
1146         * m4.h: Add blind_if_no_args in struct builtin, blind_no_args in
1147         struct symbol adn SYMBOL_BLIND_NO_ARGS macro.
1148         * builtin.c: Initialize all the blindness fields in builtin_tab.
1149         (define_builtin): Copy the blindness of a builtin into its symbol.
1150         * macro.c (expand_token): Avoid processing a blind builtin if the
1151         next character is not an opening parenthesis.
1152         Reported by David MacKenzie.
1153         Reported by Noah Friedman.
1155         * configure.in: Ensure an exit status of 0 on completion.
1156         Reported by Vivek P. Singhal.
1158         * eval.c (eval_lex): Admit both lower and upper case letters for
1159         bases greater than 10.  Only lower case letters were accepted.
1161         * eval.c (eval_lex): Recognize 0bDIGITS and 0rRADIX:DIGITS syntax.
1162         Reported by Krste Asanovic.
1164         * eval.c:  Rename NOT to LNOT.  Add XOR, NOT, LSHIFT and RSHIFT.
1165         * eval.c (logical_not_term): New name for not_term.
1166         * eval.c (xor_term): New, between or_term and and_term.
1167         * eval.c (not_term): New, between and_term and logical_not_term.
1168         * eval.c (shift_term): New, between cmp_term and add_term.
1169         Reported by Krste Asanovic: ~, ^, <<, >>.
1170         Reported by Ben A. Mesander: ** vs ^.
1172         * m4.c: Delete xmalloc.c, xrealloc.c, xstrdup.c.
1173         * m4.h: Delete xrealloc.c.
1174         * lib/xmalloc.c: New, from elsewhere.
1175         * lib/xstrdup.c: New, from elsewhere.
1176         * lib/Makefile.in: Distribute and compile them.
1178         * m4.c: Change progname to program_name.
1179         * builtin.c, eval.c, m4.c, m4.h: Rename error to m4error.
1180         * lib/error.c: New, from elsewhere.
1181         * lib/Makefile.in: Distribute and compile error.c.
1182         * configure.in: Check AC_VPRINTF and for strerror.
1183         * m4.c: Delete cmd_error.  Use error instead.
1184         * m4.c: Change label capitalisation to "ERROR", "Warning", etc.
1186         * m4.h: Delete #define const, let Autoconf takes care of this.
1188         * m4.c: Remove all code conditionalized by IMPLEMENT_M4OPTS.
1189         Merge parse_args into main.  Declare argv to be `char *const *',
1190         then remove superfluous casts.
1192         * m4.c: Rename --no-gnu-extensions to --traditional.
1193         Reported by Ben A. Mesander.
1195         * m4.c (usage): Add a status parameter.  Supply one in various
1196         calls.  Add --help processing.  Remove -V for --version.
1198         * lib/Makefile.in: Put $(CFLAGS) last in .c.o rule.
1200         * lib/Makefile.in: Have an AR=ar declaration.
1201         Reported by Eric Backus.
1202         Reported by Bjorn R. Bjornsson.
1203         Reported by Tom Tromey.
1204         Reported by Kristine Lund.
1205         Reported by Marion Hakanson.
1207 Sat Oct 30 12:51:47 1993  Francois Pinard  (pinard@icule)
1209         * Makefile.in (m4.info): Use -I$(srcdir) on $(MAKEINFO).
1210         Reported by Noah Friedman.
1212 Mon Oct 25 14:58:48 1993  Francois Pinard  (pinard@icule)
1214         * Makefile.in: Remove MDEFINES and cleanup.
1216 Wed Jun  9 14:59:46 1993  Francois Pinard  (pinard@icule)
1218         * Makefile.in (dist): Replace "echo `pwd`" by a mere "pwd".
1219         Create a gzip file.
1221 Sat Feb  6 14:59:22 1993  Francois Pinard  (pinard@icule)
1223         * Makefile.in, lib/Makefile.in, check/Makefile.in: In dist goals,
1224         ensure 777 mode for directories, so older tar's will restore file
1225         modes properly.
1227 Sun Jan 17 15:38:05 1993  Francois Pinard  (pinard@icule)
1229         * Makefile.in, lib/Makefile.in: Put $(CFLAGS) after $(CPPFLAGS),
1230         so the installer can override automatically configured choices.
1231         Reported by Karl Berry.
1233 Fri Jan 15 16:07:00 1993  Francois Pinard  (pinard@icule)
1235         * lib/vfprintf.c: Stolen from Oleo distribution and adapted.  The
1236         previous version was not working properly on m68k-hp-bsd4.3.
1237         Reported by Roland McGrath.
1239         * lib/_doprnt.c: Stolen from Oleo distribution.
1240         * configure.in: Check for _doprnt.c if vfprintf.c selected.
1241         * lib/Makefile.in: Distribute _doprnt.c.
1242         Do not distribute regex.[ch].old anymore.
1244 Fri Jan  1 19:42:23 1993  Francois Pinard  (pinard at icule)
1246         * Makefile.in, lib/Makefile.in: Reinstate $(CPPFLAGS), use it.
1247         Richard wants it there.
1249 Sun Dec 27 07:01:54 1992  Francois Pinard  (pinard at icule)
1251         * Makefile.in: Add DEFS to MDEFINES.
1252         * lib/Makefile.in (.c.o): Remove $(CPPFLAGS).
1253         (libm4.a): Remove the library before creating it.
1254         (distclean): Remove tags and TAGS too.
1256 Wed Dec 23 12:46:55 1992  Francois Pinard  (pinard at icule)
1258         * Makefile.in (dvi, m4.dvi): New goals.
1260         * builtin.c, eval.c, format.c, input.c, m4.[ch], m4.texinfo,
1261         macro.c, output.c, path.c, symtab.c: Change Copyright from
1262         1989-1992 to the explicit enumeration 1989, 1990, 1991, 1992.
1264         * examples/divert.m4: Deleted, this bug has been corrected.
1266         * Makefile.in (texclean, mostlyclean): New goals.
1268         * Makefile.in (clean): Remove clutter from ansi2knr.
1269         Reported by Pierre Gaumond.
1270         Reported by Greg A. Woods.
1272 Sun Dec 20 10:40:20 1992  Francois Pinard  (pinard at icule)
1274         * Makefile.in: Remove $(CPPFLAGS) from the .c.o rule.  The user
1275         might well use CFLAGS is s/he needs it.
1277         * Makefile.in: Allow installation of info files from a separate
1278         build directory.
1279         Reported by Jason Merrill.
1280         Reported by David MacKenzie.
1281         Reported by Skip Montanaro.
1282         Reported by Erez Zadok.
1283         Reported by Assar Westerlund.
1285 Sat Dec 19 08:21:34 1992  Francois Pinard  (pinard at icule)
1287         * Release 1.0.3
1288         This is still a beta release for the future GNU m4 version 1.1.
1290         * lib/alloca.c: New, from elsewhere.
1291         * lib/Makefile.in: Distribute it.  Define and use $(ALLOCA).
1293         * m4.h: Do not define index/rindex if already defined.  If
1294         FALSE/TRUE are already defined, do not redefine them, but merely
1295         define boolean typedef to int.
1297         * Makefile.in: Use $(DEFS) while compiling ansi2knr.
1298         * ansi2knr.c: Rewrite #ifdef HAVE_STRING_H || STDC_HEADERS,
1299         because some C compilers do not like connectives with #ifdef.
1300         * m4.h: Define `volatile' only if __GNUC__, instead of once for
1301         __GNUC__ and once for __STDC__.
1302         * lib/regex.h: Leave const alone, AC_CONST will take care of it.
1304         * checks/Makefile.in: Use .all_stamp instead of $(CHECKS) for
1305         Makefile dependencies.  Without it, make keeps destroying and
1306         remaking $(CHECKS) in a loop (why?).  Distribute .all_stamp.
1308         * m4.h, m4.c, builtin.c, output.c: Change all divertion/DIVERTION
1309         to diversion/DIVERSION, this was a spelling error.
1311         * m4.c: Declare version[], remove #include "version.h".
1312         * version.h: Deleted.
1313         * Makefile.in: Remove references to version.h.
1315         * output.c (shipout_text): Centralize all `#line NUM ["FILE"]'
1316         production, by using a simpler and more robust algorithm.  This
1317         solves the problem of synclines sometimes written in the middle of
1318         an output line.  Delete sync_line() and output_lines variable.
1319         * m4.h: Remove sync_line prototype and output_lines declaration.
1320         * input.c (next_char), output.c (shipout_text): Remove references
1321         to output_lines.
1322         * input.c (push_file, pop_file): Merely put the value -1 in
1323         output_current_line instead of calling sync_line, for delaying a
1324         single `#line NUM FILE' before next output line.  Do not test
1325         for sync_output, because this is unnecessary clutter.
1326         * output.c (make_divertion, insert_divertion): Idem.
1327         * input.c: Rename must_advance_line to start_of_input_line, for
1328         consistency.
1330         * debug.c (trace_header): Select a new debug line format, which
1331         better complies with GNU standards for formatting error messages.
1332         With option `-dfl', M-x next-error might be used on the output.
1333         * m4.c (vmesg): Adjust format of error output to GNU standards.
1334         * m4.texinfo: Adjust examples for `make check' to work.
1336         * m4.h, builtin.c, debug.c, input.c, macro.c, path.c: Use upper
1337         case for enum debug_info constants, which were all lower case.
1339         * builtin.c (m4_regexp, m4_patsubst): Use re_search instead of
1340         re_search_2.
1341         * lib/regex.[ch]: Use new version from textutils 1.3.6, with some
1342         collected patches.  I tried a few times using newer regex.[ch], it
1343         mysteriously stopped aborting with this one.  Insecure feeling...
1344         * lib/Makefile.in: Distribute regex.[ch].old, just in case!
1346 Fri Dec 18 11:08:03 1992  Francois Pinard  (pinard at icule)
1348         * m4.c: Change `--no-warnings' to `--silent'.
1349         Reported by David MacKenzie.
1351         * m4.c: Put all M4OPTS code upon IMPLEMENT_M4OPTS control, and
1352         leave it off for now.  See comment in m4.c for justification.
1353         Reported by David MacKenzie.
1355         * configure.in: Replace AC_USG by AC_HAVE_HEADERS(string.h).
1356         * m4.h, ansi2knr.c, lib/regex.h: Replace USG by HAVE_STRING_H.
1358         * Makefile.in: Add a new `info' goal.  Use macro MAKEINFO.
1360         * Makefile.in: Ensure recursive cleaning is done before local
1361         cleaning for all clean goals.
1363         * builtin.c (ntoa): Ensure the value is always interpreted as a
1364         signed quantity, whatever the radix is.
1366 Wed Nov 18 07:57:19 1992  Jim Meyering  (meyering@idefix)
1368         * builtin.c, format.c, input.c: Split long lines.
1369         * m4.c: Use typedef macro_definition instead of struct
1370         macro_definition.
1371         * symtab.c: Use typedef symbol instead of struct symbol.
1373 Tue Nov 17 01:58:40 1992  Francois Pinard  (pinard at icule)
1375         * *.[ch]: Remove all trailing whitespace, in code and comments.
1377         * configure.in: Find some awk.
1378         * Makefile.in: Add $(AWK) to MDEFINES.
1379         * checks/Makefile.in: Transmit $(AWK) to get_them.
1380         * checks/get_them: Use $AWK instead of gawk.  Add a close in the
1381         awk script when switching files, because without this, mawk runs
1382         out of file descriptors.
1384 Mon Nov 16 20:42:56 1992  Francois Pinard  (pinard at icule)
1386         * Makefile.in (realclean): Delete m4.info*.
1387         Reported by Jim Meyering.
1389         * Makefile.in: Adjust and link with checks/Makefile.
1390         * checks/Makefile.in: New.
1391         * configure.in: Output checks/Makefile.
1393         * checks/get_them: Have the dnl header of each test more
1394         recognizable by next-error, also use a better message.
1396 Mon Nov 16 07:48:52 1992  Jim Meyering  (meyering@idefix)
1398         * m4.h [__GNUC__]: Use __volatile__ instead of `volatile.'
1399         And use that only if __GNUC__ since we're using it's GCC-specific
1400         semantics that tell the compiler the associated function doesn't
1401         return.
1403         * builtin.c (substitute): Don't use character as an array index.
1404         (dumpdef_cmp): Make formal arguments `const void *' to avoid
1405         warnings with gcc -W -Wall on systems with qsort prototype.
1406         (m4_errprint): Cast obstack_finish to `char *' to avoid warnings
1407         from gcc -W -Wall.
1409         * eval.c (most functions): Add parentheses to assignments used
1410         as truth values go avoid warnings from gcc -Wall.
1412         * input.c, m4.c, output.c, path.c, symtab.c: Declare static
1413         any functions that don't need external scope.
1415         * builtin.c, debug.c, format.c, m4.c, m4.h, macro.c, symtab.c
1416         (many functions and arrays): Declare `const'.
1418 Sun Nov 15 09:42:09 1992  Francois Pinard  (pinard at icule)
1420         * *.[ch]: Rename nil to NULL, using the declaration from <stdio.h>,
1421         removing the declaration from m4.h.  Also rename false to FALSE
1422         and true to TRUE.
1424         * lib/Makefile.in (Makefile): New goal.
1426         * Makefile.in, lib/Makefile.in: Add a .c.o rule, so CFLAGS is not
1427         so heavily loaded.  It gets more easily overridable, calling make.
1428         Reported by Jim Meyering.
1430         * Makefile.in (dist): Get .fname from the current directory name,
1431         instead of from version.h.  I need updating many files manually,
1432         when the version changes, version.h is just one of them.
1434 Sat Nov 14 11:01:20 1992  Francois Pinard  (pinard at icule)
1436         * m4.h: Remove the tag `boolean' on the enum introducing typedef
1437         `boolean'.  This tag conflicts with <sys/types.h> on SVR4.
1438         Reported by Tom McConnell.
1440 Fri Nov 13 00:12:50 1992  Francois Pinard  (pinard at icule)
1442         * m4.texinfo: Correct the examples for 33.divert, 38.divnum,
1443         39.cleardiv, which were describing missing or spurious newlines.
1444         Modify examples 52.eval, 53.esyscmd and 54.sysval so the results
1445         do not depend on machine word size, `/bin/false' implementation,
1446         or `wc' output format.  `make check' is more dependable, now.
1448         * checks/check_them: Summarize the failed tests by listing their
1449         name, at end.  If none, issue `All checks successful'.  Output
1450         `Checking' instead of `Input file:'.
1452         * checks/get_them, checks/check_them: Reindented.
1454         * Makefile.in (dist): chmod a+r before making the tar file.
1456 Thu Nov 12 14:42:57 1992  Francois Pinard  (pinard at icule)
1458         * builtin.c (m4_dnl): Diagnose any parameter to `dnl'.
1460         * input.c (next_token): Reinitialize token_buttom just after using
1461         it as a watermark with obstack_free.  Or else, a future token, big
1462         enough for triggering reallocation of the obstack chunk, could
1463         void the initialized value of token_buttom, later causing panic in
1464         obstack_free.  Rename token_buttom to token_bottom everywhere.
1466         * m4.h: Before declaring errno, first include <errno.h> and
1467         ensure that it does not define errno.
1468         Reported by Richard Stallman.
1470 Wed Nov 11 17:40:35 1992  Francois Pinard  (pinard at icule)
1472         * builtin.c: Define and use DECLARE macro for builtins.
1474         * builtin.c (m4_ifelse): Avoid any diagnostic when exactly one
1475         argument, this is a common idiom for introducing long comments.
1477         * builtin.c (m4_ifelse): If 3n + 2 arguments, diagnose missing
1478         arguments.  The last argument was silently ignored.
1480         * m4.c (cmd_error): Add a missing semicolon before va_end().
1482 Tue Nov 10 08:57:05 1992  Francois Pinard  (pinard at icule)
1484         * Makefile.in: Now handle protoized sources.  Define and use U.
1485         Compile and use ansi2knr with old compilers.  Update DISTFILES.
1486         Add `aclocal.m4' to `configure' dependencies.
1487         * ansi2knr.c: New, from Ghostscript distribution.
1488         * configure.in: Define U through FP_PROTOTYPES for old compilers.
1489         Add AC_ISC_POSIX, AC_CONST, AC_SIZE_T.
1490         * aclocal.m4: New, provide FP_PROTOTYPES.
1491         * m4.h: Conditionnaly protoized through Args, save for varags.
1492         * builtin.c: Protoized.  Then:
1493         Include <sys/types.h> if size_t is not defined, before "regex.h".
1494         (m4_ifelse): Fetch built-in name properly for diagnostic.
1495         (m4_dumpdef): Remove wrong (char *) cast calling dump_symbol.
1496         (m4_regexp): Add const to `msg' declaration.
1497         (m4_patsubst): Add const to `msg' declaration.
1498         * debug.c: Protoized, save for varargs.
1499         * eval.c: Protoized.
1500         * format.c: Protoized.
1501         * input.c: Protoized.
1502         * m4.c: Protoized, save for varargs.  Then:
1503         (xfree): Accept void * instead of char *.
1504         (xmalloc): Return void * instead of char *.
1505         (xrealloc): Accept and return void * instead of char *.
1506         * macro.c: Protoized.
1507         * output.c: Protoized.
1508         * path.c: Protoized.  Then cast some (char *) over xmalloc's.
1509         * symtab.c: Protoized.
1511 Fri Nov  6 02:05:21 1992  Francois Pinard  (pinard at icule)
1513         * m4.texinfo: Remove directory from diagnostics in 30.include,
1514         51.eval, 56.errprint and 57.m4exit tests.
1516         * m4.h: Remove declarations for int or void system functions, they
1517         cause more conflicting trouble than they make good.
1519         * configure.in: Avoid configuration header file.  Add some tests.
1520         * m4.h: Remove #include "config.h".
1521         * Makefile.in, lib/Makefile.in: Implement Autoconf interface.
1522         Then, rewritten for better compliance with GNU standards.
1524 Thu Nov  5 12:37:13 1992  Francois Pinard  (pinard at icule)
1526         * format.c (format): Avoid syntax error if not HAVE_EFGCVT,
1527         because of a misplaced #endif.
1529         * Many *.[hc] files: Correct intra-line spacing here and there,
1530         according to GNU indent 1.6 advice.
1532         * configure.in: New, using Autoconf 1.2.
1533         * m4.h: Reverse NO_MEMORY_H to NEED_MEMORY_H.
1534         * Delete old configure.in, configure, etc/configure.in,
1535         etc/configure, lib/configure.in, lib/configure and config/*.
1536         Reported by Jason Merrill.
1538         * symtab.c (hash): Change (char) NULL to '\0'.
1539         Reported by Jason Merrill.
1541         * Delete .vers, etc/newdist.sh, etc/newvers.sh and
1542         etc/nextvers.sh.  Release numbers will be edited `by hand'.
1543         * version.h: De-automatize, force value in.
1545         * m4.c: Changes in order to use a newer getopt.h.
1546         Reported by David MacKenzie.
1548         * checks/: New name for examples/.
1549         * checks/get_them: New location for etc/get_examples.
1550         * checks/check_them: New location for etc/check_examples.
1551         * Makefile.in, checks/get_them, checks/check_them: Adjust.
1552         * lib/vfprintf.c: New location for etc/vfprintf.c.
1553         * Delete empty etc/.
1554         * examples/: New name for test/.
1556 Tue Mar 10 00:29:46 1992  Francois Pinard  (pinard at icule)
1558         * Makefile.in (check): Add m4 as dependency.
1560         * m4.c: Accept --no-warnings instead of --no_warnings, and
1561         --no-gnu-extensions instead of --no_gnu_extensions.  Make the
1562         usage message more informative.
1563         Reported by David MacKenzie.
1565 Mon Mar  9 14:53:40 1992  Francois Pinard  (pinard at icule)
1567         * etc/check_examples: New name for check_examples.sh.
1568         * etc/get_examples: New name for get_examples.sh.
1569         * Makefile.in, etc/Makefile.in: Use new names.
1571         * Makefile.in: Transmit $(CC) while making in lib.
1573         * Many *.[hc] files: GNU indent'ed, with further fine tuning of
1574         code disposition by hand.
1576 Sun Mar  8 11:01:55 1992  Francois Pinard  (pinard at icule)
1578         * m4.h: Delete definitions for abort() and exit().
1579         Reported by Richard Stallman.
1581         * config/hmake-unicos, config/s-unicos.h: New files.
1582         Reported by Hal Peterson.
1584         * eval.c (exp_term): Have N^0 return 1.
1585         Reported by Michael Fetterman.
1587         * eval.c, input.c, m4.h: Remove last comma in enums.
1588         Reported by Mike Lijewski.
1590         * Transfer of maintenance duties from Rene' to Franc,ois.
1592 Thu Oct 24 15:18:46 1991  Rene' Seindal (seindal at diku.dk)
1594         * Release 1.0.  Many thanks to those, who provided me with bug
1595         reports and feedback.
1597         * Uses GNU configure, taken from the gdb distribution.
1599         * Uses GNU getopt(), with long option names.
1601         * The -Q/+quiet option is added, which suppresses warnings about
1602         missing or superflous arguments to built-in macros.
1604         * Added default options via the M4OPTS environment variable.
1606         * The built-in format can now be configured to use sprintf as
1607         the formatting engine, for systems without [efg]cvt(3).
1609         * GNU library code is moved to the ./lib subdirectory; other
1610         utility files are now in ./etc.
1612         * Several minor bugs have been fixed.
1614 Fri Jul 26 15:28:42 1991  Rene' Seindal (seindal at diku.dk)
1616         * Fixed various bugs.  Release 0.99, manual 0.09.  Many thanks to
1617         Francois Pinard and Roland H. Pesch for providing me with reports.
1619         * The builtins incr and decr are now implemented without use of
1620         eval.
1622         * The builtin indir is added, to allow for indirect macro calls
1623         (allows use of "illegal" macro names).
1625         * The debugging and tracing facilities has been enhanced
1626         considerably.  See the manual for details.
1628         * The -tMACRO option is added, marks MACRO for tracing as soon
1629         as it is defined.
1631         * Builtins are traced after renaming iff they were before.
1633         * Named files can now be undiverted.
1635         * The -Nnum option can be used to increase the number of
1636         divertions available.
1638         * Calling changecom without arguments now disables all comment
1639         handling.
1641         * The function m4_patsubst() is now consistently declared
1642         static.
1644         * A bug in dnl is fixed.
1646         * A bug in the multi-character quoting code is fixed.
1648         * Several typos in the manual has been corrected.  More probably
1649         persist.
1651         * The m4.info file is now installed along with the program.
1653 Thu Nov 15 21:51:06 1990  Rene' Seindal (seindal at diku.dk)
1655         * Updated and enhanced version.  Release 0.75, manual 0.07.
1657         * Implemented search path for include files (-I option and
1658         M4PATH envronment variable).
1660         * Implemented builtin "format" for printf-like formatting.
1662         * Implemented builtin "regexp" for searching for regular
1663         expressions.
1665         * Implemented builtin "patsubst" for substitution with regular
1666         expressions.
1668         * Implemented builtin "esyscmd", which expands to a shell
1669         commands output.
1671         * Implemented "__file__" and "__line__" for use in error
1672         messages.
1674         * Implemented character ranges in "translit".
1676         * Implemented control over debugging output.
1678         * Implemented multi-character quotes.
1680         * Implemented multi-character comment delimiters.
1682         * Changed predefined macro "gnu" to "__gnu__".
1684         * Changed predefined macro "unix" to "__unix__", when the -G
1685         option is not used.  With -G, "unix" is still defined.
1687         * Changed "shift", "$@" and "$*" to not insert spaces afters
1688         commas.
1690         * Added program name to error messages.
1692         * Fixed two missing null bytes bugs.
1694 Mon Jan 22 21:08:52 1990  Rene' Seindal (seindal at diku.dk)
1696         * Initial beta release.  Release 0.50, manual 0.05.
1698         $Revision$ $Date$