[COMPILER]

* NEW: Be more verbose if a component list file is not found.


git-svn-id: svn://localhost/gambas/trunk@1223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2008-03-21 03:07:04 +00:00
parent 652824dd35
commit d75dc33c9a

View file

@ -98,8 +98,6 @@ static void add_list_file(char *library)
path = (char *)FILE_cat(COMP_info_path, library, NULL);
strcat(path, ".list");
/*printf("Reading component list file %s\n", path);*/
fi = fopen(path, "r");
if (!fi)
@ -116,7 +114,10 @@ static void add_list_file(char *library)
some classes won't be declared.
*/
if (!fi)
{
fprintf(stderr, "Cannot read component list file: %s\n", path);
return;
}
for(;;)
{