/[guile]/guile/guile-core/doc/ref/tools.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/tools.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.6 by mvo, Wed Mar 20 21:22:21 2002 UTC revision 1.1.2.7 by mvo, Mon Apr 8 17:09:07 2002 UTC
# Line 76  What @code{guile-snarf} does: Line 76  What @code{guile-snarf} does:
76    
77  Process INFILE using the C pre-processor and some other programs.  Process INFILE using the C pre-processor and some other programs.
78  Write output to a file named OUTFILE or to the standard output when no  Write output to a file named OUTFILE or to the standard output when no
79  OUTFILE has been specified or when OUTFILE is @code{-}.  When writing  OUTFILE has been specified or when OUTFILE is @code{-}.
 to a file, ignore lines from the input matching the following grep(1)  
 regular expression:  
   
 @example  
       ^#include ".*OUTFILE"  
 @end example  
80    
81  If there are errors during processing, delete OUTFILE and exit with  If there are errors during processing, delete OUTFILE and exit with
82  non-zero status.  non-zero status.
# Line 91  If env var CPP is set, use its value ins Line 85  If env var CPP is set, use its value ins
85  determined at Guile configure-time.  determined at Guile configure-time.
86    
87  During snarfing, the pre-processor macro @code{SCM_MAGIC_SNARFER} is  During snarfing, the pre-processor macro @code{SCM_MAGIC_SNARFER} is
88  defined.  defined.  You can use this to avoid including snarfer output files
89    that don't yet exist by writing code like this:
90    @example
91    #ifndef SCM_MAGIC_SNARFER
92    #include "foo.x"
93    #endif
94    @end example
95    
96  @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
97  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.

Legend:
Removed from v.1.1.2.6  
changed lines
  Added in v.1.1.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26