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

Diff for /docbook2mdoc/statistics.c between version 1.4 and 1.10

version 1.4, 2019/04/03 09:49:49 version 1.10, 2019/04/03 16:08:57
Line 225  parse_file(int fd, char *fname)
Line 225  parse_file(int fd, char *fname)
                                 continue;                                  continue;
                         }                          }
                         if (in_arg) {                          if (in_arg) {
                                 if (in_quotes == 0 && b[pend] == '"') {                                  if (in_quotes == 0 &&
                                         in_quotes = 1;                                      (b[pend] == '\'' || b[pend] == '"')) {
                                           in_quotes = b[pend] == '"' ? 2 : 1;
                                         pend++;                                          pend++;
                                         continue;                                          continue;
                                 }                                  }
                                 if (advance(b, rlen, &pend,                                  if (advance(b, rlen, &pend,
                                     in_quotes ? "\"" : " >") && rsz > 0)                                      in_quotes == 2 ? "\"" :
                                       in_quotes == 1 ? "'" : " >") && rsz > 0)
                                         break;                                          break;
                                 in_arg = in_quotes = elem_end = 0;                                  in_arg = in_quotes = elem_end = 0;
                                 if (b[pend] == '>') {                                  if (b[pend] == '>') {
Line 346  main(int argc, char *argv[])
Line 348  main(int argc, char *argv[])
   
         /* Exclude relations that are already fully implemented. */          /* Exclude relations that are already fully implemented. */
         if (show_all == 0) {          if (show_all == 0) {
                   table_add("chapter", NULL);
                   table_add("constant", "TEXT");
                   table_add("emphasis", "TEXT");
                   table_add("entry", NULL);
                   table_add("funcdef", "function");
                   table_add("funcdef", "TEXT");
                   table_add("funcprototype", "funcdef");
                   table_add("funcprototype", "paramdef");
                   table_add("function", "TEXT");
                   table_add("indexterm", "primary");
                   table_add("indexterm", "secondary");
                   table_add("informaltable", "tgroup");
                   table_add("itemizedlist", "listitem");
                   table_add("listitem", NULL);
                   table_add("literallayout", NULL);
                   table_add("orderedlist", "listitem");
                 table_add("para", NULL);                  table_add("para", NULL);
                   table_add("paramdef", "parameter");
                   table_add("paramdef", "TEXT");
                   table_add("parameter", "TEXT");
                   table_add("primary", NULL);
                   table_add("programlisting", NULL);
                   table_add("refsect1", NULL);
                   table_add("refsect2", NULL);
                   table_add("row", "entry");
                   table_add("screen", NULL);
                   table_add("secondary", NULL);
                   table_add("section", NULL);
                   table_add("sect1", NULL);
                   table_add("sect2", NULL);
                   table_add("sect3", NULL);
                   table_add("sect4", NULL);
                   table_add("symbol", "TEXT");
                   table_add("table", "tgroup");
                   table_add("table", "title");
                   table_add("tbody", "row");
                   table_add("term", NULL);
                   table_add("tgroup", "colspec");
                   table_add("tgroup", "tbody");
                   table_add("tgroup", "thead");
                   table_add("thead", "row");
                   table_add("title", "TEXT");
                   table_add("variablelist", "varlistentry");
                   table_add("varlistentry", "listitem");
                   table_add("varlistentry", "term");
         }          }
         table_add(NULL, NULL);          table_add(NULL, NULL);
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.10

CVSweb