expand_libs(): reposition `keep_char' restorage

This commit is contained in:
rlar 2013-02-24 19:50:15 +01:00
parent fcb5b12364
commit 27d68e8db7
1 changed files with 2 additions and 1 deletions

View File

@ -243,6 +243,8 @@ expand_section_references(int line_number)
section_idx = find_section(lib_idx, s); section_idx = find_section(lib_idx, s);
*t = keep_char;
found_section = (section_idx >= 0); found_section = (section_idx >= 0);
if (found_section) { if (found_section) {
@ -265,7 +267,6 @@ expand_section_references(int line_number)
c->li_linenum = line_number++; // renumber endl line c->li_linenum = line_number++; // renumber endl line
c->li_linenum_orig = line_number_lib++; c->li_linenum_orig = line_number_lib++;
} }
*t = keep_char;
} }
prev = working; prev = working;