Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-25 | conform to gnum4 AND traditional m4 (solaris) behavior, namely, | Marc Espie | |
translit(`ab',`aa',`cd') -> `cb' (first occurrence matches) okay miod@, sthen@ fixes minor autoconf issues, like HAVE_VOID__ instead of HAVE_VOID_P | |||
2010-03-22 | add more gnum4 support: regexps do weird things with empty patterns (this | Marc Espie | |
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@ | |||
2009-10-14 | whitespace; from deraadt@ | Stuart Henderson | |
2009-10-14 | Support the -P option from gnu m4, which prefixes builtins with the | Stuart Henderson | |
string m4_. Feedback from jmc@, Tobias Ulmer, Matthew Dempsky - thanks! ok espie@ | |||
2009-06-26 | undefine() leaves the hash entry for the macro (for use by builtin()) and | Philip Guenthe | |
only deletes the definition; macro_for_all needs to skip those to keep dumpdef() from segving ok and regress test by espie (thanks!) | |||
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2008-08-22 | kill trailing whitespace; | Jason McIntyre | |
2008-08-21 | Document new gnu extensions, okay jmc@, otto@ | Marc Espie | |
2008-08-21 | in gnu-m4 mode, allow definition of the empty macro (yes, autoconf 2.62 | Marc Espie | |
actually uses this, bleh) okay otto@ | |||
2008-08-21 | extend format support to cater to recent GNU autoconf | Marc Espie | |
okay otto@, some useful ideas from miod@ | |||
2008-08-21 | gnu extension: 0rN:az for baseN numbers. | Marc Espie | |
okay otto@ | |||
2008-08-21 | use unsigned char for buffers, allow differentiating between EOF and y". | Marc Espie | |
okay otto@ | |||
2008-08-16 | fix | Marc Espie | |
2008-08-16 | revert eval.c | Marc Espie | |
2008-08-16 | not yet, committed too much | Marc Espie | |
2008-08-16 | argument parsing should only skip spaces outside of parenthesis. | Marc Espie | |
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@ | |||
2008-08-16 | be more liberal in include handling, namely we only error out if it's | Marc Espie | |
the end of the last included file AND we still have a macro to expand. autoconf uses this in wine, and it turns out other m4 also do things that way (not only gnu m4). okay fries@, millert@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2007-05-05 | Localize variables and don't do anything after exit(). | Ray Lai | |
OK espie@, moritz@, and jaredy@. | |||
2006-12-12 | tweak previous, and update usage(); ok grunk | Jason McIntyre | |
2006-12-12 | mention the fact that m4 also accepts files via cmdline | Alexander von Gernler | |
ok espie@ jmc@ | |||
2006-08-29 | fix a typo. it's esyscmd, not esycmd. | Marc Balmer | |
ok jmc | |||
2006-03-24 | oops, noticed by David Hill. | Marc Espie | |
2006-03-23 | kill whitespace at eol; | Jason McIntyre | |
2006-03-23 | formatting fixes | Marc Espie | |
2006-03-23 | ... and remove extra test that is no longer needed. | Marc Espie | |
2006-03-23 | simply set up format only when we see -g. | Marc Espie | |
2006-03-23 | explicit cast on strtoul, classical const gotcha. | Marc Espie | |
2006-03-23 | back-out format for now, need to be active ONLY in GNU-m4 mode. | Marc Espie | |
2006-03-20 | add limited support for format builtin in gnu-m4 mode, because I'm fed | Marc Espie | |
up of patching it away in various autoconf derivatives. okay miod@ | |||
2006-03-20 | report function m4errx, that shows app-specific data (filename/linenumber) | Marc Espie | |
before the error message. Use it to simplify code. okay miod@ | |||
2006-01-20 | use stdint.h where appropriate. okay millert@ | Marc Espie | |
2005-09-30 | deploy .An -nosplit; ok jmc | Jared Yanovich | |
2005-09-07 | tweaks; | Jason McIntyre | |
ok espie@ | |||
2005-09-07 | sort options and sync usage() | Jason McIntyre | |
2005-09-06 | less diff in -g/not -g. | Marc Espie | |
mentioned by otto@ | |||
2005-09-06 | finally make our m4 SusV3-compliant. | Marc Espie | |
- changecom and changequote have a simple definition (that matches gnu-m4, coincidentally, so we no longer need two distinct modes for these) - off-by-one bug in -s, this finally works. - reorder main parser loop, so that we can use alphabetic constructs in quotes/comments. - rename putback to pushback, this matches comments, and makes more sense. - more uniform (and updated) description of changequote/changecom. - new, systematic regression tests of comments/quotes. - framework to test -s: one perl script to reconstitute `full' files with all line numbers, so that we can verify the output without needing a complete match. okay otto@, fries@ | |||
2005-08-06 | zap rcsid. It's not ramdisk, but they still take space. | Marc Espie | |
2005-05-29 | fix a few minor compatibility issues. | Marc Espie | |
- let eval() handle a base and number of digits, like it's advertized to. - in gnu-mode, undivert can take file names as arguments. - in gnu-mode, map can handle reversed charsets. Suggestions and okay otto@, mostly prompted by looking at the regress tests in newer gnu-m4. | |||
2005-05-21 | more heuristics to coerce gnu-m4 mode to work like we wish: if a ^ or $ | Marc Espie | |
is seen in the regexp, this means we need to take new lines into account. Otherwise, we don't. | |||
2005-05-17 | gnu m4 mode does not heed end of lines. | Marc Espie | |
2005-03-02 | let m4wrap handle multiple wraps, both in normal and gnu-mode. | Marc Espie | |
based on Noah Misch's bug report. okay otto, jmc. | |||
2005-01-31 | use fflush(stdout) before system() so we won't miss any | Robert Nagy | |
wanted output; from Andreas Burmester <buster_hh@gmx.net> ok espie@ | |||
2005-01-21 | more portable code, stderr is not necessarily a constant. | Marc Espie | |
2005-01-20 | remove unused variables, extra declarations. | Marc Espie | |
2004-11-07 | twiddle + at start of regexp. | Marc Espie | |
2004-06-22 | Do not generate floating point exception followed by a core dump | Otto Moerbeek | |
on div or mod by zero, print error message instead. ok espie@ | |||
2004-05-25 | kill whitespace; | Jason McIntyre | |
2004-05-25 | name parameters for built-ins, so that we get less awkward phrasing. | Marc Espie | |
Leave out the changed description of changecom/changequote for later. |