X-Git-Url: http://nsz.repo.hu/git/?p=c-standard;a=blobdiff_plain;f=annot.sh;h=47eadff06aac8e98eaba5a24a39468b86219edb2;hp=a2cc13b06ec3f4455ae4193c4b5265a8b729247c;hb=a195b77776bc262f52deca83fea5d60b1f7953e7;hpb=60964d4bc3b9138f1ee750c1e0c0a63442d53d72 diff --git a/annot.sh b/annot.sh index a2cc13b..47eadff 100755 --- a/annot.sh +++ b/annot.sh @@ -142,7 +142,7 @@ function dosect(s, n,a) { if (id ~ /Annex/) id = a[2] if (id ~ /^([A-Z]|[1-9]\.|[1-9A-Z]\.[0-9.]*[0-9]|Contents|Index|Foreword|Introduction|Bibliography)$/ && - (n==1 || a[2] ~ /^[A-Z.v]/)) { + (n==1 || a[2] ~ /^[A-Z.v_]/)) { sub(/^ +/,"",s) if (id ~ /\.$/) id = substr(id,1,length(id)-1)