Browse Source

inpcom.c, expand_section_ref(), #7/7, cleanup

pre-master-46
rlar 9 years ago
parent
commit
38183b6167
  1. 9
      src/frontend/inpcom.c

9
src/frontend/inpcom.c

@ -2425,17 +2425,16 @@ expand_section_ref(struct line *c, char *dir_name)
c->li_line[0] = '*'; c->li_line[0] = '*';
c->li_line[1] = '<'; c->li_line[1] = '<';
} }
if(ciprefix(".endl", t->li_line))
if(ciprefix(".endl", t->li_line)) {
c->li_line[0] = '*';
c->li_line[1] = '>';
break; break;
}
} }
if (!t) { if (!t) {
fprintf(stderr, "ERROR, .endl not found\n"); fprintf(stderr, "ERROR, .endl not found\n");
controlled_exit(EXIT_FAILURE); controlled_exit(EXIT_FAILURE);
} }
c->li_line[0] = '*';
c->li_line[1] = '>';
c = c;
} }
*line = '*'; /* comment out .lib line */ *line = '*'; /* comment out .lib line */

Loading…
Cancel
Save