summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Templeton <robin@terpri.org>2014-06-14 16:16:32 -0400
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-03-25 12:00:11 -0700
commitca0e317e5b92c2f2c80ad9ba68872ea85c0fd96d (patch)
treebc834f2989459e8601bc55e5002fb3b6622c64f4
parente97833382e618e359c0d5bb4f63d03f4d9b52224 (diff)
downloadguile-ca0e317e5b92c2f2c80ad9ba68872ea85c0fd96d.tar.gz
guile-snarf fix
(Best-ability ChangeLog annotation added by Christopher Allan Webber.) * libguile/guile-snarf.in (modern_snarf): Adjusted.
-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 47bbc0422..36cb99598 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