summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorRobin Templeton <robin@terpri.org>2014-06-14 16:16:32 -0400
committerRicardo Wurmus <rekado@elephly.net>2020-04-04 16:19:53 +0200
commit1c7ae95c3505fe200ec6d21bdacae3105a1fcb9c (patch)
treeb69b2f4b03689540448e3544f5a3b43e84e12bb1 /libguile
parent00de1bb8a4809c44987125ca8a210839b29e71c6 (diff)
guile-snarf fix
(Best-ability ChangeLog annotation added by Christopher Allan Webber.) * libguile/guile-snarf.in (modern_snarf): Adjusted.
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