summaryrefslogtreecommitdiff
path: root/usr.bin/m4/main.c
AgeCommit message (Expand)Author
2017-06-15Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+Brian Callahan
2015-11-03There really is no double standard. Treat m4 just like openssl, byTheo de Raadt
2015-11-01pledge m4. tested by me.Marc Espie
2014-12-21fix test-redef2:Marc Espie
2014-05-12adjust to ohash being in libutil now, and to the interface changes.Marc Espie
2014-04-28check for integer overflows in custom allocs, okay jca@Marc Espie
2012-04-12new m4 -g stuff:Marc Espie
2011-09-27zap dead stuffMarc Espie
2010-09-07Remove stray spaces. No code change.Marco Peereboom
2010-03-22add more gnum4 support: regexps do weird things with empty patterns (thisMarc Espie
2009-10-14Support the -P option from gnu m4, which prefixes builtins with theStuart Henderson
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
2008-08-16be more liberal in include handling, namely we only error out if it'sMarc Espie
2006-03-24oops, noticed by David Hill.Marc Espie
2006-03-23simply set up format only when we see -g.Marc Espie
2006-03-23back-out format for now, need to be active ONLY in GNU-m4 mode.Marc Espie
2006-03-20add limited support for format builtin in gnu-m4 mode, because I'm fedMarc Espie
2006-03-20report function m4errx, that shows app-specific data (filename/linenumber)Marc Espie
2006-01-20use stdint.h where appropriate. okay millert@Marc Espie
2005-09-06finally make our m4 SusV3-compliant.Marc Espie
2005-08-06zap rcsid. It's not ramdisk, but they still take space.Marc Espie
2005-03-02let m4wrap handle multiple wraps, both in normal and gnu-mode.Marc Espie
2005-01-20remove unused variables, extra declarations.Marc Espie
2003-11-17Modify xalloc so that it also takes err(3)-like arguments.Marc Espie
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