Fix issue #48 dependency issue

This commit is contained in:
Ginger Bill
2017-04-26 23:51:13 +01:00
parent 5b8be25938
commit b78e970698
4 changed files with 37 additions and 25 deletions
+4
View File
@@ -3866,6 +3866,10 @@ ParseFileError parse_files(Parser *p, char *init_filename) {
if (err != ParseFile_None) {
if (err == ParseFile_EmptyFile) {
if (str_eq(import_path, init_fullpath)) {
gb_printf_err("Initial file is empty - %.*s\n", LIT(init_fullpath));
gb_exit(1);
}
return ParseFile_None;
}