m4: Sync with FreeBSD.
authorPeter Avalos <pavalos@dragonflybsd.org>
Tue, 15 Jan 2013 05:59:24 +0000 (21:59 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Tue, 15 Jan 2013 06:13:21 +0000 (22:13 -0800)
commit4afad3d8f675d4c7d767e86520a3c2eda3d56658
tree4627a1b0263808be7ef2df366eb4dda1fecb7993
parentcc194c5674544a1747739776e8911bde7245b0d6
m4: Sync with FreeBSD.

This improves compat with GNU m4 and brings the code closer to NetBSD
and OpenBSD.

Obtained-from:  FreeBSD
38 files changed:
usr.bin/m4/Makefile
usr.bin/m4/NOTES
usr.bin/m4/TEST/ack.m4
usr.bin/m4/TEST/hanoi.m4
usr.bin/m4/TEST/hash.m4
usr.bin/m4/TEST/math.m4
usr.bin/m4/TEST/sqroot.m4
usr.bin/m4/TEST/string.m4
usr.bin/m4/TEST/test.m4
usr.bin/m4/eval.c
usr.bin/m4/expr.c
usr.bin/m4/extern.h
usr.bin/m4/gnum4.c
usr.bin/m4/lib/ohash.h [new file with mode: 0644]
usr.bin/m4/lib/ohash_create_entry.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_delete.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_do.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_entries.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_enum.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_init.3 [new file with mode: 0644]
usr.bin/m4/lib/ohash_init.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_int.h [new file with mode: 0644]
usr.bin/m4/lib/ohash_interval.3 [new file with mode: 0644]
usr.bin/m4/lib/ohash_interval.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_lookup_interval.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_lookup_memory.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_qlookup.c [new file with mode: 0644]
usr.bin/m4/lib/ohash_qlookupi.c [new file with mode: 0644]
usr.bin/m4/look.c
usr.bin/m4/m4.1
usr.bin/m4/main.c
usr.bin/m4/mdef.h
usr.bin/m4/misc.c
usr.bin/m4/parser.y [new file with mode: 0644]
usr.bin/m4/pathnames.h
usr.bin/m4/stdd.h
usr.bin/m4/tokenizer.l [new file with mode: 0644]
usr.bin/m4/trace.c