1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 14:50:19 +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: What @code{guile-snarf} does:
Process INFILE using the C pre-processor and some other programs. Process INFILE using the C pre-processor and some other programs.
Write output to a file, named OUTFILE if specified, or STEM.x if Write output to a file named OUTFILE or to the standard output when no
INFILE looks like STEM.c and no OUTFILE is specified. Ignore OUTFILE has been specified or when OUTFILE is @code{-}. When writing
lines from the input matching grep(1) regular expression: to a file, ignore lines from the input matching the following grep(1)
regular expression:
@example @example
^#include ".*OUTFILE" ^#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 If env var CPP is set, use its value instead of the C pre-processor
determined at Guile configure-time. 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 @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. say magic) cpp macros you can use, including the list of deprecated macros.