[BACK]Return to mdocml.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdocml.c between version 1.32 and 1.35

version 1.32, 2009/01/03 18:38:39 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):
                 assert(NULL == n->child);  
                 p = mdoc_macronames[n->data.elem.tok];                  p = mdoc_macronames[n->data.elem.tok];
                 t = "element";                  t = "element";
                 argv = n->data.elem.argv;                  argv = n->data.elem.argv;
Line 325  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 354  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";

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.35

CVSweb