Commit graph

7 commits

Author SHA1 Message Date
dholland
8d69379a9d Update to 0.4.
release 0.4 (20130713)
   - Fix stupid build problem introduced in 0.3.1.
   - Accept and ignore -m32, which imake issues willy-nilly on a bunch
     of platforms. I thought this had already been done, but apparently
     not.
   - Don't use the <err.h> functions. There are still people out there
     using legacy systems missing them.
   - Sort out some more issues pertaining to handling quoted strings.
   - Add some more tests.
2013-07-13 18:51:03 +00:00
dholland
73a767a188 Oops, forgot <stdarg.h>. PR 48037
There must be something wrong with netbsd's headers, as none of

   #include <stdbool.h>
   #include <stdio.h>
   #include <stdlib.h>
   #include <string.h>
   #include <errno.h>
   #include <err.h>

ought to leak in stdarg.h, but apparently one is.
2013-07-10 05:50:05 +00:00
dholland
6e0fdd0bff Update to 0.3.1: minor fixes.
release 0.3.1 (20130709)
   - Don't leak memory and assert if a bad command-line option comes
     after a -D or a -include foo.
   - Since imake is a principal application for tradcpp and imake carefully
     hides what it's doing when you run it, when rejecting an invalid option
     be sure to report *what* that option is.
2013-07-09 17:39:52 +00:00
dholland
5e07e2d64e Update to 0.3; bug fixes.
release 0.3 (20130616)
   - Don't eval the control expression of the first #if of a block when
     already in a false block; it might not be valid. Reported by
     Baptiste Daroussin.
   - Don't recognize comments within character constants.
   - Don't recognize macro argument parentheses or commas within strings,
     or within character constants either.
2013-06-17 02:33:40 +00:00
obache
a1ee850691 catman is also installed (on NetBSD-5.2, MANINSTAL="catinstall htmlinstall maninstall") 2013-06-16 12:56:10 +00:00
dholland
aa278eec9d Update to 0.2.
release 0.2 (20130611)
   - auto-recognize more builtin PowerPC and mips macros
   - pass -Wunused (partly from Baptiste Daroussin)
   - allow absolute paths in include files (partly from Baptiste Daroussin)
   - don't use getprogname() in the name of portability
   - add tests arising from December 2010 tech-toolchain thread (one
     from der Mouse, one of mine)
   - clean out usage of sys/cdefs.h macros and don't use the implementation
     namespace
   - make -Wcomment work again
   - fix handling of relative includes
   - provide a man page
   - other minor improvements
2013-06-11 23:07:01 +00:00
dholland
bb1121e48f Add tradcpp-0.1.
tradcpp is a traditional (K&R-style) preprocessor.

It has the particular property that it doesn't (for the most part)
trash whitespace, so it can be used on makefiles.

This is only release 0.1; it is missing some features and doubtless
has quite a few bugs, but it's capable of building at least some
packages when used with imake.

Written by yours truly with some patches from Joerg.
2013-06-11 04:21:21 +00:00