summaryrefslogtreecommitdiff
path: root/usr.bin/m4/eval.c
AgeCommit message (Expand)Author
2017-11-11replace sloppy parsing of numeric values with strtonum (incr, decr, divert)Marc Espie
2017-10-23ifelse is special, fix argv parsing to avoid segfaultMarc Espie
2017-06-15Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+Brian Callahan
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2014-07-11better error handling in mkstemp/unlink/fdopen logic.Marc Espie
2014-04-28check for integer overflows in custom allocs, okay jca@Marc Espie
2013-11-14cleanup up a nest of if/if/elseTheo de Raadt
2012-04-12new m4 -g stuff:Marc Espie
2011-03-24fix translit() behavior to not be recursive. Fixes autoconf 2.65, matchesMarc Espie
2010-09-07Remove stray spaces. No code change.Marco Peereboom
2010-03-25conform to gnum4 AND traditional m4 (solaris) behavior, namely,Marc Espie
2008-08-21in gnu-m4 mode, allow definition of the empty macro (yes, autoconf 2.62Marc Espie
2008-08-16revert eval.cMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
2006-03-24oops, noticed by David Hill.Marc Espie
2006-03-23... and remove extra test that is no longer needed.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-05-29fix a few minor compatibility issues.Marc Espie
2005-03-02let m4wrap handle multiple wraps, both in normal and gnu-mode.Marc Espie
2005-01-31use fflush(stdout) before system() so we won't miss anyRobert Nagy
2005-01-21more portable code, stderr is not necessarily a constant.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-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-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-05say goodbye to strcpy, okay deraadt@Marc Espie
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-12-28Kill yet another hardcoded size. Ok fries@Marc Espie
2001-10-10Handle macro expansion even if argc==2, which can happen in indir() calls.Marc Espie
2001-10-10Fix indentMarc Espie
2001-09-29Synchronize comment with reality.Marc Espie
2001-09-27pass all properties of builtins when defn...Marc Espie
2001-09-27traceon/traceoff built-ins.Marc Espie
2001-09-19inline some very common putback/chrsave. Worth roughly 10%Marc Espie
2001-09-18Tracing facilities. Same style as gnu-m4, because it's mostly used forMarc Espie
2001-09-18instrumentation for tracing mode: macro expansionMarc Espie
2001-09-18better gnu m4 emulation for dumpdefMarc Espie
2001-09-18let dumpdef go thru dump_one_def for each def.Marc Espie
2001-09-18let defn(builtin) work enough so thatMarc Espie
2001-09-18One single point for all macros/builtin expansion.Marc Espie
2001-06-13Fix PR 1868. MAXSTR has no place there.Marc Espie
2000-07-27Handle unlimited diverts for m4 -g.Marc Espie