summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdocml.c b/mdocml.c
index 1b6cd227..57c83861 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -205,8 +205,6 @@ print_node(const struct mdoc_node *n, int indent)
case (MDOC_HEAD):
p = mdoc_macronames[n->data.head.tok];
t = "block-head";
- params = n->data.head.args;
- sz = n->data.head.sz;
break;
case (MDOC_ELEM):
assert(NULL == n->child);
@@ -400,6 +398,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err type)
case (ERR_SYNTAX_ARGMANY):
lit = "syntax: too many values for macro argument";
break;
+ case (ERR_CHILD_HEAD):
+ lit = "scope context expects block-header child";
+ break;
default:
abort();
/* NOTREACHED */