Better checking of class declarations.

This commit is contained in:
Daniel Marjamäki 2008-03-18 07:46:42 +00:00
parent d0cffeaa8c
commit 85a50103a5
1 changed files with 5 additions and 0 deletions

View File

@ -250,6 +250,11 @@ void CheckConstructors()
while (tok1)
{
const char *classname = tok1->next->str;
if ( ! IsName(classname) )
{
tok1 = findtoken( tok1->next, pattern_classname );
continue;
}
// Are there a class constructor?
const char *constructor_pattern[] = {"","clKalle","(",NULL};