|
|
@ -135,7 +135,6 @@ top1: |
|
|
for (here = deck; here; here = here->li_next) { |
|
|
for (here = deck; here; here = here->li_next) { |
|
|
if (renumber) |
|
|
if (renumber) |
|
|
here->li_linenum = i; |
|
|
here->li_linenum = i; |
|
|
i++; |
|
|
|
|
|
if (ciprefix(".end", here->li_line) && |
|
|
if (ciprefix(".end", here->li_line) && |
|
|
!isalpha(here->li_line[4])) |
|
|
!isalpha(here->li_line[4])) |
|
|
continue; |
|
|
continue; |
|
|
@ -156,6 +155,7 @@ top1: |
|
|
fprintf(file, "%s\n", here->li_error); |
|
|
fprintf(file, "%s\n", here->li_error); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
i++; |
|
|
} |
|
|
} |
|
|
if (extras) { |
|
|
if (extras) { |
|
|
deck = extras; |
|
|
deck = extras; |
|
|
@ -173,7 +173,6 @@ top2: |
|
|
if ((here->li_actual == NULL) || (here == deck)) { |
|
|
if ((here->li_actual == NULL) || (here == deck)) { |
|
|
if (renumber) |
|
|
if (renumber) |
|
|
here->li_linenum = i; |
|
|
here->li_linenum = i; |
|
|
i++; |
|
|
|
|
|
if (ciprefix(".end", here->li_line) && |
|
|
if (ciprefix(".end", here->li_line) && |
|
|
!isalpha(here->li_line[4])) |
|
|
!isalpha(here->li_line[4])) |
|
|
continue; |
|
|
continue; |
|
|
@ -240,6 +239,7 @@ top2: |
|
|
} |
|
|
} |
|
|
here->li_linenum = i; |
|
|
here->li_linenum = i; |
|
|
} |
|
|
} |
|
|
|
|
|
i++; |
|
|
} |
|
|
} |
|
|
if (extras) { |
|
|
if (extras) { |
|
|
deck = extras; |
|
|
deck = extras; |
|
|
|