nullpointer and empty string were confused.
Long live the PDP and VAX
This commit is contained in:
parent
703eb4e7a0
commit
ae2f236663
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ result_t compute(node) register node_p node; {
|
||||||
case EX_TOSTRING:
|
case EX_TOSTRING:
|
||||||
assert(leaf1.e_typ == EV_INT);
|
assert(leaf1.e_typ == EV_INT);
|
||||||
result.e_typ = EV_ADDR;
|
result.e_typ = EV_ADDR;
|
||||||
result.e_v.e_addr.ea_str = 0;
|
result.e_v.e_addr.ea_str = "";
|
||||||
result.e_v.e_addr.ea_off = leaf1.e_v.e_con;
|
result.e_v.e_addr.ea_off = leaf1.e_v.e_con;
|
||||||
return(result);
|
return(result);
|
||||||
#ifdef REGVARS
|
#ifdef REGVARS
|
||||||
|
|
Loading…
Reference in a new issue