ext/spidermonkey/conversions.c in jbarnette-johnson-1.0.0.20081126120511 vs ext/spidermonkey/conversions.c in jbarnette-johnson-1.0.0.20090127202936

- old
+ new

@@ -58,9 +58,37 @@ { JSContext * context = johnson_get_current_context(runtime); PREPARE_JROOTS(context, 0); switch(TYPE(ruby)) { + case T_NONE: + JERROR("I don't know how to handle T_NONE."); + JRETURN; + + case T_ICLASS: + JERROR("I don't know how to handle T_ICLASS."); + JRETURN; + + case T_MATCH: + JERROR("I don't know how to handle T_MATCH."); + JRETURN; + + case T_BLKTAG: + JERROR("I don't know how to handle T_BLKTAG."); + JRETURN; + + case T_NODE: + JERROR("I don't know how to handle T_NODE | T_MASK."); + JRETURN; + + case T_UNDEF: + JERROR("I don't know how to handle T_UNDEF."); + JRETURN; + + case T_VARMAP: + JERROR("I don't know how to handle T_VARMAP."); + JRETURN; + case T_NIL: *retval = JSVAL_NULL; JRETURN; case T_TRUE: