* Makefile.am: Fix ETAGS_ARGS to recognize GUILE_PROC,
[bpt/guile.git] / libguile / guile-doc-snarf.awk
index 9bd6e7b..78764af 100644 (file)
@@ -35,6 +35,7 @@ BEGIN { FS="|";
                 sub(/[ \t]*$/,"",location);
                 sub(/: /,":",location);
                 gsub(/[ \t]*\|.*$/,"",copy);
+                sub(/ )/,")",copy);
                 if (numargs != numactuals && !registering) 
                   { print location ":*** `" copy "' is improperly registered as having " numactuals " arguments"; }
                 print "\f\n" copy (registering?")":"") > dot_doc_file ; }