* guile-snarf.awk.in: Replace the dot_doc_file arg with "-",
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Wed, 14 Jun 2000 00:59:42 +0000 (00:59 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Wed, 14 Jun 2000 00:59:42 +0000 (00:59 +0000)
indicating stdin, instead of "" and don't reset ARGC.  This is a
workaround for `nawk' in AIX 4.3 on RS6000 but, as far as I know,
it is correct, and perhaps even better.

libguile/guile-snarf.awk.in

index b49b590..582b5a6 100644 (file)
@@ -2,8 +2,7 @@
 # 12-Dec-1999
 
 BEGIN { FS="|"; 
-        dot_doc_file = ARGV[1]; ARGV[1] = "";
-        ARGC = 0;
+        dot_doc_file = ARGV[1]; ARGV[1] = "-";
         std_err = "/dev/stderr";
         # be sure to put something in the files to help make out
         print "";