1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

T_BLKTAG, T_SCOPE, and T_VARMAP aren't valid symbols in 1.9

This commit is contained in:
Charles Lowell 2010-05-23 18:35:25 +03:00
parent 408bd22045
commit 8b89eaf8b1

View file

@ -146,10 +146,10 @@ Handle<Value> rr_rb2v8(VALUE value) {
case T_BIGNUM:
case T_FILE:
case T_SYMBOL:
case T_BLKTAG:
// case T_BLKTAG: (not in 1.9)
case T_UNDEF:
case T_VARMAP:
case T_SCOPE:
// case T_VARMAP: (not in 1.9)
// case T_SCOPE: (not in 1.9)
case T_NODE:
default:
return String::New("Undefined Conversion");