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

Diff for /mandoc/html.c between version 1.12 and 1.13

version 1.12, 2008/12/06 19:41:41 version 1.13, 2008/12/06 21:10:31
Line 122  html_It_headtagname(struct md_mbuf *mbuf, struct htmlq
Line 122  html_It_headtagname(struct md_mbuf *mbuf, struct htmlq
                         break;                          break;
   
         assert(n);          assert(n);
   
           /* LINTED */
         for (i = 0; ROFF_ARGMAX != n->argc[i] &&          for (i = 0; ROFF_ARGMAX != n->argc[i] &&
                         i < ROFF_MAXLINEARG; i++) {                          i < ROFF_MAXLINEARG; i++) {
                 switch (n->argc[i]) {                  switch (n->argc[i]) {
Line 155  html_It_bodytagname(struct md_mbuf *mbuf, struct htmlq
Line 157  html_It_bodytagname(struct md_mbuf *mbuf, struct htmlq
                         break;                          break;
   
         assert(n);          assert(n);
   
           /* LINTED */
         for (i = 0; ROFF_ARGMAX != n->argc[i] &&          for (i = 0; ROFF_ARGMAX != n->argc[i] &&
                         i < ROFF_MAXLINEARG; i++) {                          i < ROFF_MAXLINEARG; i++) {
                 switch (n->argc[i]) {                  switch (n->argc[i]) {
Line 249  html_It_blocktagname(struct md_mbuf *mbuf, struct html
Line 253  html_It_blocktagname(struct md_mbuf *mbuf, struct html
                         break;                          break;
   
         assert(n);          assert(n);
   
           /* LINTED */
         for (i = 0; ROFF_ARGMAX != n->argc[i] &&          for (i = 0; ROFF_ARGMAX != n->argc[i] &&
                         i < ROFF_MAXLINEARG; i++) {                          i < ROFF_MAXLINEARG; i++) {
                 switch (n->argc[i]) {                  switch (n->argc[i]) {
Line 549  html_inlinetagargs(struct md_mbuf *mbuf, 
Line 555  html_inlinetagargs(struct md_mbuf *mbuf, 
                         return(0);                          return(0);
                 if ( ! ml_nputs(mbuf, "\"", 1, res))                  if ( ! ml_nputs(mbuf, "\"", 1, res))
                         return(0);                          return(0);
                   break;
         default:          default:
                 break;                  break;
         }          }
Line 605  html_begintag(struct md_mbuf *mbuf, void *data,
Line 612  html_begintag(struct md_mbuf *mbuf, void *data,
                 /* TODO: argv. */                  /* TODO: argv. */
   
                 assert(argv);                  assert(argv);
                   /* LINTED */
                 for (i = 0; ROFF_ARGMAX != argc[i]                  for (i = 0; ROFF_ARGMAX != argc[i]
                                 && i < ROFF_MAXLINEARG; i++)                                  && i < ROFF_MAXLINEARG; i++)
                         node->argc[i] = argc[i];                          node->argc[i] = argc[i];
Line 721  html_free(void *p)
Line 729  html_free(void *p)
         assert(p);          assert(p);
         q = (struct htmlq *)p;          q = (struct htmlq *)p;
   
           /* LINTED */
         while ((n = q->last)) {          while ((n = q->last)) {
                 q->last = n->parent;                  q->last = n->parent;
                 free(n);                  free(n);

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb