summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
Diffstat (limited to 'libguile')
-rw-r--r--libguile/guile-snarf.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/guile-snarf.in b/libguile/guile-snarf.in
index 22dc1d389..01fd7a1ba 100644
--- a/libguile/guile-snarf.in
+++ b/libguile/guile-snarf.in
@@ -52,7 +52,8 @@ modern_snarf () # writes stdout
## empty file.
echo "/* cpp arguments: $@ */" ;
${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
- sed -ne 's/ *\^ *\^ */\
+ sed -ne '/^#define /d
+s/ *\^ *\^ */\
/
s/.*\n//
t x