Better checking of class declarations.
This commit is contained in:
parent
d0cffeaa8c
commit
85a50103a5
|
@ -250,6 +250,11 @@ void CheckConstructors()
|
||||||
while (tok1)
|
while (tok1)
|
||||||
{
|
{
|
||||||
const char *classname = tok1->next->str;
|
const char *classname = tok1->next->str;
|
||||||
|
if ( ! IsName(classname) )
|
||||||
|
{
|
||||||
|
tok1 = findtoken( tok1->next, pattern_classname );
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Are there a class constructor?
|
// Are there a class constructor?
|
||||||
const char *constructor_pattern[] = {"","clKalle","(",NULL};
|
const char *constructor_pattern[] = {"","clKalle","(",NULL};
|
||||||
|
|
Loading…
Reference in New Issue