diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-01-03 11:05:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-01-03 11:05:58 +0000 |
commit | 9a3cbd0f9fb4323d1e8a8fd2aaa5c5ef6753ad5e (patch) | |
tree | 787eb6d8ca274017756ca105305e75b2b49accb4 | |
parent | a3d1964ec929e847fa686cac5cb9033089130cb3 (diff) |
Support .St -isoC-2011 to refer to ISO C11.
From Ulrich Spoerlein, tweaked by kristaps@.
Werner Lemberg added the same .St argument to groff today.
-rw-r--r-- | share/man/man7/mdoc.7 | 6 | ||||
-rw-r--r-- | usr.bin/mandoc/st.in | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7 index d91fdc1bcb6..c708c556929 100644 --- a/share/man/man7/mdoc.7 +++ b/share/man/man7/mdoc.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.7,v 1.90 2011/11/01 14:49:16 schwarze Exp $ +.\" $OpenBSD: mdoc.7,v 1.91 2012/01/03 11:05:57 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 1 2011 $ +.Dd $Mdocdate: January 3 2012 $ .Dt MDOC 7 .Os .Sh NAME @@ -2392,6 +2392,8 @@ The following standards are recognised: .St -isoC-tcor2 .It \-isoC-99 .St -isoC-99 +.It \-isoC-2011 +.St -isoC-2011 .It \-iso9945-1-90 .St -iso9945-1-90 .It \-iso9945-1-96 diff --git a/usr.bin/mandoc/st.in b/usr.bin/mandoc/st.in index 03971c9f8b1..0d569476c53 100644 --- a/usr.bin/mandoc/st.in +++ b/usr.bin/mandoc/st.in @@ -1,4 +1,4 @@ -/* $Id: st.in,v 1.11 2011/09/16 19:36:07 jmc Exp $ */ +/* $Id: st.in,v 1.12 2012/01/03 11:05:57 schwarze Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -51,6 +51,7 @@ LINE("-isoC-amd1", "ISO/IEC 9899/AMD1:1995 (\\(lqISO\\~C90, Amendment 1\\(rq)") LINE("-isoC-tcor1", "ISO/IEC 9899/TCOR1:1994 (\\(lqISO\\~C90, Technical Corrigendum 1\\(rq)") LINE("-isoC-tcor2", "ISO/IEC 9899/TCOR2:1995 (\\(lqISO\\~C90, Technical Corrigendum 2\\(rq)") LINE("-isoC-99", "ISO/IEC 9899:1999 (\\(lqISO\\~C99\\(rq)") +LINE("-isoC-2011", "ISO/IEC 9899:2011 (\\(lqISO\\~C11\\(rq)") LINE("-iso9945-1-90", "ISO/IEC 9945-1:1990 (\\(lqPOSIX.1\\(rq)") LINE("-iso9945-1-96", "ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)") LINE("-iso9945-2-93", "ISO/IEC 9945-2:1993 (\\(lqPOSIX.2\\(rq)") |