forked from enlightenment/efl
Eolian/Lexer: fix bug occuring during generation.
A string set by the lexer and used by the generator was set to NULL instead of "constructor"/"destructor".
This commit is contained in:
parent
61b180448a
commit
ba2cdd723d
|
@ -2797,13 +2797,13 @@ eo_tokenizer_database_fill(const char *filename)
|
|||
const char *class = impl->meth_name;
|
||||
if (!strcmp(class, "Eo_Base::constructor"))
|
||||
{
|
||||
Eolian_Function foo_id = database_function_new(NULL, DFLT_CONSTRUCTOR);
|
||||
Eolian_Function foo_id = database_function_new("constructor", DFLT_CONSTRUCTOR);
|
||||
database_class_function_add(kls->name, foo_id);
|
||||
continue;
|
||||
}
|
||||
if (!strcmp(class, "Eo_Base::destructor"))
|
||||
{
|
||||
Eolian_Function foo_id = database_function_new(NULL, DFLT_DESTRUCTOR);
|
||||
Eolian_Function foo_id = database_function_new("destructor", DFLT_DESTRUCTOR);
|
||||
database_class_function_add(kls->name, foo_id);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -1194,13 +1194,13 @@ eo_tokenizer_database_fill(const char *filename)
|
|||
const char *class = impl->meth_name;
|
||||
if (!strcmp(class, "Eo_Base::constructor"))
|
||||
{
|
||||
Eolian_Function foo_id = database_function_new(NULL, DFLT_CONSTRUCTOR);
|
||||
Eolian_Function foo_id = database_function_new("constructor", DFLT_CONSTRUCTOR);
|
||||
database_class_function_add(kls->name, foo_id);
|
||||
continue;
|
||||
}
|
||||
if (!strcmp(class, "Eo_Base::destructor"))
|
||||
{
|
||||
Eolian_Function foo_id = database_function_new(NULL, DFLT_DESTRUCTOR);
|
||||
Eolian_Function foo_id = database_function_new("destructor", DFLT_DESTRUCTOR);
|
||||
database_class_function_add(kls->name, foo_id);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue