Changeset 22554 for v6

Show
Ignore:
Timestamp:
10/09/08 13:29:45 (6 weeks ago)
Author:
ruoso
Message:

[smop] small bugfix in native bool was causing unexpected behavior

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src/native_bool.c

    r22288 r22554  
    2222    SMOP_RELEASE(interpreter,capture); 
    2323    return invocant; 
    24   } else if (identifier = SMOP__ID__defined) { 
     24 
     25  } else if (identifier == SMOP__ID__defined) { 
    2526    SMOP_RELEASE(interpreter,capture); 
    2627    return SMOP__NATIVE__bool_true; 
     28 
    2729  } else { 
    2830    ___UNKNOWN_METHOD___; 
     31 
    2932  } 
     33 
    3034  SMOP_RELEASE(interpreter,capture); 
    3135  return SMOP__NATIVE__bool_false;