guile-snarf fix
authorRobin Templeton <robin@terpri.org>
Sat, 14 Jun 2014 20:16:32 +0000 (16:16 -0400)
committerRobin Templeton <robin@terpri.org>
Tue, 21 Apr 2015 23:36:29 +0000 (19:36 -0400)
libguile/guile-snarf.in

index 47bbc04..36cb995 100644 (file)
@@ -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