diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-01 20:40:16 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-01 20:40:16 +0000 |
commit | 8df8a36888bd7cf090c351097d6c520905c2bfd9 (patch) | |
tree | 66e6fb72a61e523064542277d17b144b7b9e0b26 /mdocml.c | |
parent | 322cc23a55808335259ba133ec8d4067bf9a122f (diff) | |
download | mandoc-8df8a36888bd7cf090c351097d6c520905c2bfd9.tar.gz |
Broke apart macro_prologuexxx into prologue.
Fixed validation for line-scoped.
Merged const_arg and const.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ |