summaryrefslogtreecommitdiff
path: root/usr.bin/m4/main.c
AgeCommit message (Expand)Author
2003-06-30Fold trace status into the single hash table that's left.Marc Espie
2003-06-30add a flag for each macro name that records built-in status.Marc Espie
2003-06-30replace old hash structure with open hashing.Marc Espie
2003-06-30Make the trace status of a macro an actual argument that gets pushedMarc Espie
2003-06-30clean up internal lookup interface:Marc Espie
2003-06-18- store builtin name as definition for builtin macros.Marc Espie
2003-06-12switch from linked list to hash table for traced macros.Marc Espie
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-04-28Implement -s.Marc Espie
2002-04-26use ansi function declarations. ok millert@Marc Espie
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-10-06This PUTBACK must be protected against EOF. The others are fine.Marc Espie
2001-09-28Remove debugging scaffoldingMarc Espie
2001-09-27traceon/traceoff built-ins.Marc Espie
2001-09-19inline some very common putback/chrsave. Worth roughly 10%Marc Espie
2001-09-18forgot to add -t handling.Marc Espie
2001-09-18Tracing facilities. Same style as gnu-m4, because it's mostly used forMarc Espie
2001-09-18let defn(builtin) work enough so thatMarc Espie
2001-09-18One single point for all macros/builtin expansion.Marc Espie
2001-09-188 bit clean look-ahead.Marc Espie
2001-09-17Remove STATIC memory optimization. It's buggy (see regression test trip)Marc Espie
2001-09-16special-case MACRO (without parens) recognition, so that $# is set to 0Marc Espie
2001-07-28Wall cleanupPeter Valchev
2001-03-05inspect MUST take an int to handle EOF issues correctly on unsigned charMarc Espie
2001-03-02Mark -o option with XXX (we may want to implement it someday, but currently itAaron Campbell
2001-02-05please alpha gccTheo de Raadt
2000-07-27Handle unlimited diverts for m4 -g.Marc Espie
2000-07-24Implement esyscmdMarc Espie
2000-07-02Make the m4 machine stack dynamically sized.Marc Espie
2000-07-02Long tokens won't be defined macros, but they can still be output.Marc Espie
2000-03-18Last needed m4 changes to bootstrap autoconf without gnu-m4.Marc Espie
2000-03-11Add a few builtins for greater compatibility with gnu-m4, and extendedMarc Espie
2000-02-02Comment slightly more.Marc Espie
2000-02-02Optimize common case.Marc Espie
2000-01-15There is no need to waste short for holding EOF in the pushback buffer.Marc Espie
2000-01-13Record 50 levels of open parenthesis, open quotes, to give a post-mortem.Marc Espie
2000-01-12Use a proper abstract interface for file accesses, so that we can recordMarc Espie
2000-01-11Use the same optimization as look_ahead for inspect (don't push back charMarc Espie
2000-01-11Don't recognize built-ins in contexts where they don't make sense.Marc Espie
2000-01-05Close PR-1021. make unix or vms `special' macros that expand toMarc Espie
1999-11-30Recognizes comments while parsing macros arguments, as every otherMarc Espie
1999-11-30Clean up comment/quote recognition a little bit:Marc Espie
1999-11-25From espie@openbsd.org:Todd C. Miller
1999-11-20Optimization: cache the hashed value to avoid negative comparisons.Marc Espie
1999-11-17Turn warnings on,Marc Espie
1999-09-14Style: kill register and indent properly.Marc Espie
1999-09-14-I works better when activated...Marc Espie
1999-09-14Implement -I option and M4PATH environment variableMarc Espie
1999-09-06Remove STRSPACE limitations.Marc Espie