Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2004-05-12 | all numbers as one composite regexp. | Marc Espie | |
2004-05-12 | replace hand-made expr() parser with a lex/yacc affair that is shorter, | Marc Espie | |
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@ | |||
2004-02-17 | Change the maketemp() description into what it really does. | Miod Vallat | |
ok espie@ jmc@ | |||
2004-02-01 | add paper.txt target; | Jason McIntyre | |
remove explicit paper.ps target, since it's already built by default; (this paper not installed yet) | |||
2003-11-22 | the the typo. from rohee@ | Marc Espie | |
2003-11-17 | Modify xalloc so that it also takes err(3)-like arguments. | Marc Espie | |
Write an xrealloc wrapper that works the same way, and use it as well. People who feel like it may want to add more explicit error messages to all the places m4 can fail allocating memory... okay tedu@ | |||
2003-06-30 | Fold trace status into the single hash table that's left. | Marc Espie | |
Inline some macros/functions for speed. So, this achieves the goal of one single lookup for macro/trace status, which does speed up m4 in partial tracing situations somewhat. This does also speed up m4 in large pushdef situations, since it no longer has to lookup large chains of macros. okay millert@ | |||
2003-06-30 | add a flag for each macro name that records built-in status. | Marc Espie | |
Fold built-in lookup into normal lookup. okay millert@ | |||
2003-06-30 | replace old hash structure with open hashing. | Marc Espie | |
make the stack structure of macro definitions explicit. okay millert@ | |||
2003-06-30 | Make the trace status of a macro an actual argument that gets pushed | Marc Espie | |
in the frame for the macro expansion. (This will allow one single lookup to grab the macro definition and the trace status) okay millert@ | |||
2003-06-30 | clean up internal lookup interface: | Marc Espie | |
define an interface with explicit define/pushdef/popdef... and use it. That way, most details of the hashtable are no longer visible. okay millert@ | |||
2003-06-29 | Explain in more details how define interacts with pushdef/popdef, and | Marc Espie | |
how that varies from an m4 implementation to another. ok jmc@ | |||
2003-06-27 | - replace .Ql with .Sq; this was also causing a problem with postscript | Jason McIntyre | |
- escape ampersand - missing full stop fixes from wiz@netbsd | |||
2003-06-26 | oops | Michael Shalayeff | |
2003-06-26 | calder-licensed doc | Michael Shalayeff | |
2003-06-18 | - store builtin name as definition for builtin macros. | Marc Espie | |
this removes the need for code->name conversion, in exchange for systematically testing the definition type, since we can no longer rely on the defn being NULL. - commonnalize the builtin-detection code, so that we can use it for pushdef as well with define, so that pushdef handles builtins correctly as well. okay fries@, millert@. | |||
2003-06-12 | switch from linked list to hash table for traced macros. | Marc Espie | |
speeds up recent autoconf somewhat, since it traces a large set of individual macro. (more rework of m4 internal interfaces to unify lookup tables in order) okay fries@ | |||
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-08 | Better argv tests, enough to fix autoconf 2.57, apparently. | Marc Espie | |
okay millert@ |