summaryrefslogtreecommitdiff
path: root/libguile/guile-snarf.in
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>1999-12-12 23:37:40 +0000
committerGreg J. Badros <gjb@cs.washington.edu>1999-12-12 23:37:40 +0000
commit3dc81fbacea7ccac0e9f1a1f97f93ed7d2e00aba (patch)
tree858747dd8b54b11a54c3f0aab8368653a26f2ad9 /libguile/guile-snarf.in
parent66c24ad36ac680c72b67050d16f6fd7549969265 (diff)
downloadguile-3dc81fbacea7ccac0e9f1a1f97f93ed7d2e00aba.tar.gz
* snarf.h: Drop SCM_PROC, SCM_PROC1. Added extra output for
guile-doc-snarf script. * guile-doc-snarf.in, guile-doc-snarf.awk: New, simple doc extraction system. Builds foo.x, foo.doc from foo.{c,cc}. There are dependencies between these files and snarf.h. This replaces guile-snarf. * guile-snarf.in: Drop everything after $$$ for the new snarf.h macros. This is obsoleted by guile-doc-snarf, but kept here for now for good measure. * Makefile.am: Added guile-doc-snarf, guile-doc-snarf.awk to bin_SCRIPTS. Added .doc to SUFFIXES, and give rule for creating .doc files to use guile-doc-snarf. Update the rule for creating .x files to use guile-doc-snarf.
Diffstat (limited to 'libguile/guile-snarf.in')
-rw-r--r--libguile/guile-snarf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/guile-snarf.in b/libguile/guile-snarf.in
index 0a776df71..ead21ef4b 100644
--- a/libguile/guile-snarf.in
+++ b/libguile/guile-snarf.in
@@ -10,7 +10,7 @@ test -n "${CPP+set}" || CPP="@CPP@"
## We must use a temporary file here, instead of a pipe, because we
## need to know if CPP exits with a non-zero status.
${CPP} -DSCM_MAGIC_SNARFER "$@" > ${temp} || exit $?
-< ${temp} grep "^ *% *% *%" | sed -e "s/^ *% *% *%//"
+< ${temp} grep "^ *% *% *%" | sed -e "s/^ *% *% *%//" -e 's/\$\$\$.*$//g'
## Apparently, AIX's preprocessor is unhappy if you try to #include an
## empty file.