Up to [cvsweb.bsd.lv] / texi2mdoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: VERSION_0_1_2
Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 25 14:37:17 2015 UTC (10 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_0_1_2
Changes since 1.11: +3 -9 lines
Diff to previous 1.11 (colored)
Completely re-write @value and @macro handling to work exactly as Texinfo specifies and not how I really want it to work. In a word, macros and values are pasted into the text: they're not self- contained bodies that can be recursively executed. In other words, @macro hello{} @ifset foo @end macro @hello @end ifset ...is completely valid. While here, stop paying attention to the manual's lies about macro newlines. The terminal newline (i.e., before "@end macro") is part of the macro, which is why so many macros are @r{}@c -- to swallow the newline. This required a significant mechanical change to get the buffer pointer and size out of all arguments, as the buffer can now be reallocated.