Commit Graph
5 Commits
Author SHA1 Message Date
david parsons 3d63e86076 add some dle sanity checking into onlyifset() 2019-02-22 13:27:02 -08:00
david parsons 4b10998ed1 Redo the internals for pandoc-style headers; don't just carry
around a linked list, but pull each field out into its own structure
element.
2010-12-09 14:05:29 -08:00
david parsons 5c6115c601 1. Add the new amalloc module, which (if enabled with
--enable-amalloc) replaced malloc and its ilk with
    versions that attempt to maintain a linked list of
    allocated blocks that can be printed to stderr with
    the `adump()` function.

2.  Clean up a couple more places where I leak memory
    during the first level parse.

3.  tweak cstring.h to try to chase down places where
    the C compiler might optimize EXPAND() into producing
    broken code.
2008-04-03 11:22:07 -07:00
David Parsons 880d338ffb 1. Trim back leading spaces when returning fields from the document header.
2. `#include <string.h>` in cstring.h so we can get the prototype for
   `memmove()`
3. Update the mkd2html test program.
2008-01-13 01:40:33 -08:00
david parsons 41b2d3ba84 Add document header functions mkd_doc_title(), mkd_doc_author(), mkd_doc_date(). 2008-01-11 12:18:49 -08:00