Fix some other code
This commit is contained in:
parent
b229826e14
commit
c5bc5bc9ce
|
@ -44,7 +44,7 @@ tobject_t* __node_method_call_execute(node_t* n,scope_t* s,retarg_t* retArg)
|
||||||
o->type = tchar;
|
o->type = tchar;
|
||||||
o->data.chr= parent_obj->data.boolean ? 'y' : 'n';
|
o->data.chr= parent_obj->data.boolean ? 'y' : 'n';
|
||||||
}
|
}
|
||||||
if(strcmp(name,'toNumber') == 0)
|
if(strcmp(name,"toNumber") == 0)
|
||||||
{
|
{
|
||||||
o = tobject_create(s->rt);
|
o = tobject_create(s->rt);
|
||||||
o->type = tnumber;
|
o->type = tnumber;
|
||||||
|
|
Loading…
Reference in New Issue