1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

Updated to reflect changes to the guile-snarf tool.

This commit is contained in:
Marius Vollmer 2002-03-24 14:12:07 +00:00
parent e2bd68e02c
commit 033aa07c01

View file

@ -75,9 +75,10 @@ Usage: guile-snarf [-d | -D] [-o OUTFILE] INFILE [CPP-OPTIONS ...]
What @code{guile-snarf} does:
Process INFILE using the C pre-processor and some other programs.
Write output to a file, named OUTFILE if specified, or STEM.x if
INFILE looks like STEM.c and no OUTFILE is specified. Ignore
lines from the input matching grep(1) regular expression:
Write output to a file named OUTFILE or to the standard output when no
OUTFILE has been specified or when OUTFILE is @code{-}. When writing
to a file, ignore lines from the input matching the following grep(1)
regular expression:
@example
^#include ".*OUTFILE"
@ -93,6 +94,9 @@ do the same thing but signal error and exit with non-zero status.
If env var CPP is set, use its value instead of the C pre-processor
determined at Guile configure-time.
During snarfing, the pre-processor macro @code{SCM_MAGIC_SNARFER} is
defined.
@xref{Macros guile-snarf recognizes}, for a list of the special (some would
say magic) cpp macros you can use, including the list of deprecated macros.