1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-30 06:50:31 +02:00

* guile-snarf.awk.in: Replace docstring line-ending \n" and \n\n"

with nothing and \n, respectively. Thanks Keisuke Nishida for
noticing this problem.
This commit is contained in:
Greg J. Badros 2000-03-15 16:09:58 +00:00
parent dd45c0dfdb
commit 09aebdb572

View file

@ -56,7 +56,9 @@ BEGIN { FS="|";
gsub(/.*@@@/,"",copy);
sub(/^[ \t]*"?/,"", copy);
sub(/\"?[ \t]*@!!!.*$/,"", copy);
gsub(/\\\"/,"\"",copy);
gsub(/\\n\\n"?/,"\n",copy);
gsub(/\\n"?[ \t]*$/,"",copy);
gsub(/\\\"[ \t]*$/,"\"",copy);
gsub(/[ \t]*$/,"", copy);
if (copy != "") { print copy > dot_doc_file }
}