* guile-snarf.awk.in: Quote any `@'s that occur in Scheme names,
authorNeil Jerram <neil@ossau.uklinux.net>
Fri, 16 Feb 2001 18:57:11 +0000 (18:57 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Fri, 16 Feb 2001 18:57:11 +0000 (18:57 +0000)
  by doubling them to `@@'.

libguile/ChangeLog
libguile/guile-snarf.awk.in

index e202b3a..67db1d4 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-16  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * guile-snarf.awk.in: Quote any `@'s that occur in Scheme names,
+       by doubling them to `@@'.
+
 2001-02-16  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
 
        * numbers.c (scm_lognot), random.c (scm_random,
index 45ad42b..3fbe217 100644 (file)
@@ -40,6 +40,9 @@ BEGIN { FS="|";
                 sub(/ \)/,")",copy);
                 # Now `copy' contains the nice scheme proc "prototype", e.g.
                 # (set-car! pair value)
+                 # Since this is destined to become Texinfo source,
+                 # quote any `@'s that occur in the prototype.
+                 gsub(/\@/,"@@",copy);
                 # print copy > "/dev/stderr";  # for debugging
                 sub(/^\(/,"",copy);
                 sub(/\)[ \t]*$/,"",copy);