Next: guile-tools split-string-no-nulls, Previous: guile-tools snarf-check-and-output-texi, Up: Miscellaneous Tools
Usage: snarf-guile-m4-docs FILE
Grep FILE for comments preceding macro definitions, massage
them into valid texi, and display to stdout. For each comment,
lines preceding "^# Usage:" are discarded. Also discarded are the
first line following "Usage" and the last line before "AC_DEFUN".
Additionally, lines of the form "# {some text}" are massaged into
subsection headers (in this example, "@subsection some text").
Usage from a Scheme program:
(snarf-guile-m4-docs file)
Output is sent to the current output port.
TODO: Generalize.