summaryrefslogtreecommitdiff
path: root/usr.bin/m4/trace.c
AgeCommit message (Collapse)Author
2006-01-20use stdint.h where appropriate. okay millert@Marc Espie
2005-01-21more portable code, stderr is not necessarily a constant.Marc Espie
2005-01-20remove unused variables, extra declarations.Marc Espie
2003-06-30Fold 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-30replace old hash structure with open hashing.Marc Espie
make the stack structure of macro definitions explicit. okay millert@
2003-06-30Make the trace status of a macro an actual argument that gets pushedMarc 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-12switch 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@
2002-04-26use ansi function declarations. ok millert@Marc Espie
2002-04-26fix indentation errorMarc Espie
2002-02-16Part 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-09-29show level of macro expansion, not dummy 1 (finally found some gnu-m4Marc 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-27traceon/traceoff built-ins.Marc Espie
2001-09-18Tracing facilities. Same style as gnu-m4, because it's mostly used forMarc Espie
autoconf right now.