Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
2003-06-08 | Let patsubst handle empty patterns: those match anywhere, and don't | Marc Espie | |
replace any character. Like gnu-m4 does, and other regexp languages do. okay fries@ | |||
2003-06-07 | Show filename and line number in regexp error. | Marc Espie | |
Okay fries@ | |||
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-14 | built in -> built-in; | Jason McIntyre | |
from NetBSD (Igor Sobrado); smrsh(8) passed on to sendmail people; ok millert@ | |||
2003-04-05 | say goodbye to strcpy, okay deraadt@ | Marc Espie | |
2003-02-18 | copyrights added; | Jason McIntyre | |
these are all Regents of the University of California | |||
2003-02-16 | Forgot to document -o, somehow. | Marc Espie | |
2003-01-07 | .Sq -> .Ql | Mike Pechkin | |
Make sence. Spotted by jmc@acn.waw.pl pvalchev@, millert@ | |||
2003-01-05 | Grammar and typo fixes, general language improvements | Peter Valchev | |
from jmc@prioris.mini.pw.edu.pl with changes by me | |||
2002-04-28 | Implement -s. | Marc Espie | |
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@ | |||
2002-04-26 | use ansi function declarations. ok millert@ | Marc Espie | |
2002-04-26 | prototype mismatch, ansi conversion rules... | Marc Espie | |
add -pedantic to flags. | |||
2002-04-26 | fix indentation error | Marc Espie | |
2002-04-26 | rename `bool' to something else, to avoid C99 surprises. | Marc Espie | |
2002-04-22 | Do not hardcode mvme88k-specific compilation flags here, especially since | Miod Vallat | |
the new flags happen to be no different from those set in <sys.mk> | |||
2002-04-18 | correct description of undefine, both according to the code, and to | Marc Espie | |
single unix. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-12-28 | Kill yet another hardcoded size. Ok fries@ | Marc Espie | |
and flush(stdout) on debugging mode, as a vicious coredump can leave you without info otherwise. | |||
2001-11-16 | incorrect write | Theo de Raadt | |
2001-10-13 | Resize buffer correctly, I'm an idiot. | Marc Espie | |
Found by fries@, ok deraadt@ | |||
2001-10-10 | Handle macro expansion even if argc==2, which can happen in indir() calls. | Marc Espie | |
Problem encountered by obecian@. | |||
2001-10-10 | Prototypes shouldn't mention argument name. | Marc Espie | |
2001-10-10 | Quote filename properly. | Marc Espie | |
2001-10-10 | Fix indent | Marc Espie | |
2001-10-06 | This PUTBACK must be protected against EOF. The others are fine. | Marc Espie | |
2001-09-29 | show level of macro expansion, not dummy 1 (finally found some gnu-m4 | Marc Espie | |
scripts where that level != 1, hard to test otherwise...) Put a space after comma. Both these make trace output much closer to gnu-m4 output for debugging purposes. | |||
2001-09-29 | Synchronize comment with reality. | Marc Espie | |
In gnu-m4 mode, pass the real number of arguments to changequote/changecom, since those distinguish changequote() from changequote. | |||
2001-09-29 | document tracing and compatibility with other m4. | Marc Espie | |
2001-09-28 | Remove debugging scaffolding | Marc Espie | |
2001-09-28 | more emacs regexps in -g mode. Ok millert@ | Marc Espie | |
With this, some autoconf 2.52 scripts are now working completely. | |||
2001-09-27 | pass all properties of builtins when defn... | Marc Espie | |
2001-09-27 | Needed logic to handle newlines correctly. | Marc Espie | |
2001-09-27 | traceon/traceoff built-ins. | Marc Espie | |
2001-09-19 | inline some very common putback/chrsave. Worth roughly 10% | Marc Espie | |
2001-09-18 | forgot to add -t handling. | Marc Espie | |