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

Diff for /docbook2mdoc/parse.c between version 1.24 and 1.25

version 1.24, 2019/04/08 22:47:34 version 1.25, 2019/04/08 23:40:17
Line 409  xml_entity(struct parse *p, const char *name)
Line 409  xml_entity(struct parse *p, const char *name)
                         TAILQ_FOREACH(dat, &p->doctype->childq, child) {                          TAILQ_FOREACH(dat, &p->doctype->childq, child) {
                                 if ((ccp = pnode_getattr_raw(dat,                                  if ((ccp = pnode_getattr_raw(dat,
                                      ATTRKEY_NAME, NULL)) == NULL ||                                       ATTRKEY_NAME, NULL)) == NULL ||
                                     strcmp(ccp, name) != 0 ||                                      strcmp(ccp, name) != 0)
                                     (ccp = pnode_getattr_raw(dat,                                          continue;
                                   if ((ccp = pnode_getattr_raw(dat,
                                       ATTRKEY_SYSTEM, NULL)) != NULL) {
                                           parse_file(p, -1, ccp);
                                           p->flags &= ~PFLAG_SPC;
                                           return;
                                   }
                                   if ((ccp = pnode_getattr_raw(dat,
                                      ATTRKEY_DEFINITION, NULL)) == NULL)                                       ATTRKEY_DEFINITION, NULL)) == NULL)
                                         continue;                                          continue;
                                 if ((cp = strdup(ccp)) == NULL) {                                  if ((cp = strdup(ccp)) == NULL) {

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

CVSweb