Ticket #388: pbc_sf.patch
File pbc_sf.patch, 0.6 KB (added by cotto, 13 years ago) |
---|
-
src/packout.c
226 226 GETATTR_Key_num_key(interp, key, key_num); 227 227 228 228 for (i = 0; i < ct->const_count; i++) { 229 if (type == PFC_STRING && ct->constants[i]->u.string == key_str)229 if (type == PFC_STRING && Parrot_str_equal(interp, ct->constants[i]->u.string, key_str)) 230 230 return i; 231 231 if (type == PFC_NUMBER && ct->constants[i]->u.number == key_num) 232 232 return i;