X-Git-Url: http://nsz.repo.hu/git/?p=c-standard;a=blobdiff_plain;f=annot.sh;fp=annot.sh;h=a2cc13b06ec3f4455ae4193c4b5265a8b729247c;hp=debb71df730240513a5922e4c977b00ebbe14cba;hb=60964d4bc3b9138f1ee750c1e0c0a63442d53d72;hpb=c8552f228e75429c8c11edb869899f05b70ea1e5 diff --git a/annot.sh b/annot.sh index debb71d..a2cc13b 100755 --- a/annot.sh +++ b/annot.sh @@ -182,8 +182,10 @@ BEGIN { indent = 0 for (i = 1; i < n; i++) { if (a[i] ~ /^@/) { - if (a[i] ~ /^@para/) + if (a[i] ~ /^@para/) { + endpre() endlist() + } print a[i] } else { s = substr(a[i], indent+1)