version 1.33, 2009/01/03 22:10:22 |
version 1.35, 2009/01/05 17:57:08 |
Line 206 print_node(const struct mdoc_node *n, int indent) |
|
Line 206 print_node(const struct mdoc_node *n, int indent) |
|
p = mdoc_macronames[n->data.head.tok]; |
p = mdoc_macronames[n->data.head.tok]; |
t = "block-head"; |
t = "block-head"; |
break; |
break; |
|
case (MDOC_TAIL): |
|
p = mdoc_macronames[n->data.tail.tok]; |
|
t = "block-tail"; |
|
break; |
case (MDOC_ELEM): |
case (MDOC_ELEM): |
p = mdoc_macronames[n->data.elem.tok]; |
p = mdoc_macronames[n->data.elem.tok]; |
t = "element"; |
t = "element"; |
Line 324 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 328 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
fmt = lit = NULL; |
fmt = lit = NULL; |
|
|
switch (type) { |
switch (type) { |
|
case (ERR_SYNTAX_NOTEXT): |
|
lit = "syntax: context-free text disallowed"; |
|
break; |
case (ERR_SYNTAX_QUOTE): |
case (ERR_SYNTAX_QUOTE): |
lit = "syntax: disallowed argument quotation"; |
lit = "syntax: disallowed argument quotation"; |
break; |
break; |
Line 353 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 360 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
fmt = "scope: macro `%s' may not be nested in the current context"; |
fmt = "scope: macro `%s' may not be nested in the current context"; |
break; |
break; |
case (ERR_MACRO_NOTSUP): |
case (ERR_MACRO_NOTSUP): |
fmt = "macro `%s' not supported"; |
lit = "macro not supported"; |
break; |
break; |
case (ERR_MACRO_NOTCALL): |
case (ERR_MACRO_NOTCALL): |
fmt = "macro `%s' not callable"; |
fmt = "macro `%s' not callable"; |