tradcpp: upgrade to 0.5.3

This commit is contained in:
Jon Trulson
2019-12-03 18:12:22 -07:00
parent 15dfdf231a
commit ec8f4b7464
28 changed files with 843 additions and 186 deletions

View File

@@ -1,3 +1,53 @@
release 0.5.3 (20190121)
- Fix markup typo in the man page.
- Abort on line numbering or column numbering overflow. Line
numbers are limited to values that fit in "unsigned int". Also
reject input lines longer than 2^32-1 characters. It seems
reasonable to presume that any input that violates these
constraints is someone screwing around and not a serious attempt
to compile or preprocess anything useful. Done in response to
n2129, but without getting into any of the silliness found there.
- Recognize __ia64__ for IA64 builds.
- Recognize __aarch64__ for 64-bit ARM builds, as sent in by
various people.
- Recognize __riscv__ and __riscv64__ for risc-v builds.
release 0.5.2 (20160904)
- Fix typo in -U usage message, noticed by Joerg.
- Add a -debuglog option to send an execution trace to a file.
Intended to be used when debugging imake templates and other
complex input, not for debugging tradcpp itself.
release 0.5.1 (20150612)
- Fix a stupid regression in 0.5 that causes it to not recognize a
pile of options.
- Fix output corruption caused by mishandling which macros are
currently in use. In particular, "curmacro" is only valid while
we're parsing a macro name and arguments, and can change once we
start expanding, so don't use it to clear the in-use flag. This
problem has been around all along but was only just exposed.
- Also don't set curmacro to null after calling expand_domacro as
that can cause us to think a macro name we just read is defined().
This one was introduced in 0.5.
- Don't use "remove" as a local variable as gcc 4.1 gets upset
about it vs. remove(3) in stdio.h.
release 0.5 (20150612)
- Don't report unclosed comments as "No newline at end of file".
- Don't rely on <stdbool.h> existing, as (predictably) it doesn't
work on Solaris.
- Similarly, don't rely on C11 anonymous unions as the Solaris
compiler vomits on them.
- Typo fix in man page from Jason McIntyre; and change "Usage" to
"usage" in usage for pedantic reasons, from Igor Sobrado.
- Accept "-" as either input or output file name to mean stdin or
stdout respectively. Suggested by Jonathan Gray.
- Fix output spacing behavior to match gcc when newlines appear in or
while looking for macro arguments. Partly from Joerg Sonnenberger.
- Implement __FILE__ and __LINE__ macros. Mostly from Joerg Sonnenberger.
- Implement #line. Partly from Joerg Sonnenberger.
- Declare usage() with PF(). From wiz.
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