[COMPILER]

* BUG: Optional exported classes are now correctly inserted into '*.list' files.


git-svn-id: svn://localhost/gambas/trunk@7535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-12-22 20:41:18 +00:00
parent bf3b070c70
commit f63e8caf6b

View file

@ -456,11 +456,13 @@ static void class_update_exported(CLASS *class)
{
optional = TRUE;
name[len - 1] = 0;
len--;
}
if (name[len - 1] == '!')
{
has_static = TRUE;
name[len - 1] = 0;
len--;
}
cmp = strcmp(name, class->name);
}