[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:
parent
bf3b070c70
commit
f63e8caf6b
1 changed files with 45 additions and 43 deletions
|
@ -456,11 +456,13 @@ static void class_update_exported(CLASS *class)
|
||||||
{
|
{
|
||||||
optional = TRUE;
|
optional = TRUE;
|
||||||
name[len - 1] = 0;
|
name[len - 1] = 0;
|
||||||
|
len--;
|
||||||
}
|
}
|
||||||
if (name[len - 1] == '!')
|
if (name[len - 1] == '!')
|
||||||
{
|
{
|
||||||
has_static = TRUE;
|
has_static = TRUE;
|
||||||
name[len - 1] = 0;
|
name[len - 1] = 0;
|
||||||
|
len--;
|
||||||
}
|
}
|
||||||
cmp = strcmp(name, class->name);
|
cmp = strcmp(name, class->name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue