expand_libs(): bug fix, missing check for .endl at the tail of a file

This commit is contained in:
rlar 2013-02-24 19:48:21 +01:00
parent 59c1c9d0da
commit 18e3a436ac
1 changed files with 7 additions and 0 deletions

View File

@ -277,6 +277,13 @@ expand_section_references(int line_number)
}
}
if (found_section) {
fprintf(stderr, "ERROR: .lib is missing .endl!\n");
controlled_exit(EXIT_FAILURE);
}
found_section = FALSE;
}
return line_number;