guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 07/36: guile-snarf fix


From: Christopher Allan Webber
Subject: [Guile-commits] 07/36: guile-snarf fix
Date: Tue, 19 Oct 2021 18:11:22 -0400 (EDT)

cwebber pushed a commit to branch wip-elisp-rebased
in repository guile.

commit ad3d498d31d574a20fd69346adcc357e74166e56
Author: Robin Templeton <robin@terpri.org>
AuthorDate: Sat Jun 14 16:16:32 2014 -0400

    guile-snarf fix
    
    (Best-ability ChangeLog annotation added by Christine Lemmer-Webber.)
    
    * libguile/guile-snarf.in (modern_snarf): Adjusted.
---
 libguile/guile-snarf.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libguile/guile-snarf.in b/libguile/guile-snarf.in
index 22dc1d3..01fd7a1 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]