summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-02 17:29:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-02 17:29:16 +0000
commit1e85c3949ce76b81aa8b89f634e30797ddc81cc8 (patch)
tree94023f59de54c2900c60d1b1369cf956e8470fb8 /term.c
parent162ce81d3a61862bea3503763f631cf91bd28023 (diff)
downloadmandoc-1e85c3949ce76b81aa8b89f634e30797ddc81cc8.tar.gz
mandoc-1e85c3949ce76b81aa8b89f634e30797ddc81cc8.tar.zst
mandoc-1e85c3949ce76b81aa8b89f634e30797ddc81cc8.zip
Noted lacking areas in mdocterm.1.
Put styles into symtab (for real this time).
Diffstat (limited to 'term.c')
-rw-r--r--term.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/term.c b/term.c
index 80962387..5181f9b0 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.35 2009/03/02 17:14:46 kristaps Exp $ */
+/* $Id: term.c,v 1.36 2009/03/02 17:29:16 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -30,7 +30,6 @@
* post-fix operations are defined here.
*/
-/* FIXME: indent/tab. */
/* FIXME: macro arguments can be escaped. */
#define TTYPE_PROG 0
@@ -59,6 +58,8 @@
* the same thing (like .Ex -std cmd and .Nm cmd).
*/
+/* TODO: abstract this into mdocterm.c. */
+
const int ttypes[TTYPE_NMAX] = {
TERMP_BOLD, /* TTYPE_PROG */
TERMP_BOLD, /* TTYPE_CMD_FLAG */