summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 13:18:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 13:18:15 +0000
commit81ee6448dee9591b4e0ee8879542ef378054c91b (patch)
treeb4b9956f4b342b658131ef497533b46af5e97924
parent5b5b20933119ec53adc824df33ad8d7f3b0c22e6 (diff)
downloadmandoc-81ee6448dee9591b4e0ee8879542ef378054c91b.tar.gz
mandoc-81ee6448dee9591b4e0ee8879542ef378054c91b.tar.zst
mandoc-81ee6448dee9591b4e0ee8879542ef378054c91b.zip
Added `St -ieee1275-94'.
Documented a future `Bd' fixme.
-rw-r--r--mdoc_action.c9
-rw-r--r--st.in3
2 files changed, 9 insertions, 3 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 156bb1e3..a45faf9c 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.31 2009/07/21 15:53:31 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.32 2009/07/24 13:18:15 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -845,7 +845,12 @@ pre_bd(PRE_ARGS)
if (MDOC_BODY != n->type)
return(1);
- /* Enter literal context if `Bd -literal' or * -unfilled'. */
+ /* Enter literal context if `Bd -literal' or `-unfilled'. */
+
+ /*
+ * TODO: `-offset' without an argument should be the width of
+ * the literal "<string>".
+ */
for (n = n->parent, i = 0; i < (int)n->args->argc; i++)
if (MDOC_Literal == n->args->argv[i].arg)
diff --git a/st.in b/st.in
index 13cd4866..be126a37 100644
--- a/st.in
+++ b/st.in
@@ -1,4 +1,4 @@
-/* $Id: st.in,v 1.8 2009/07/24 13:09:45 kristaps Exp $ */
+/* $Id: st.in,v 1.9 2009/07/24 13:18:15 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -51,6 +51,7 @@ LINE("-ansiC-89", "ANSI X3.159-1989 (\\(lqANSI C\\(rq)")
LINE("-ansiC-99", "ANSI/ISO/IEC 9899-1999 (\\(lqANSI C99\\(rq)")
LINE("-ieee754", "IEEE Std 754-1985")
LINE("-iso8802-3", "ISO 8802-3: 1989")
+LINE("-ieee1275-94", "IEEE Std 1275-1994 (\\(lqOpen Firmware\\(rq)")
LINE("-xpg3", "X/Open Portability Guide Issue 3 (\\(lqXPG3\\(rq)")
LINE("-xpg4", "X/Open Portability Guide Issue 4 (\\(lqXPG4\\(rq)")
LINE("-xpg4.2", "X/Open Portability Guide Issue 4.2 (\\(lqXPG4.2\\(rq)")