[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:
parent
652824dd35
commit
d75dc33c9a
1 changed files with 3 additions and 2 deletions
|
@ -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(;;)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue