HTTP/1.1 -1 Read error in cache disk data: SuccessContent-Type: text/plain Last-Modified: Fri, 08 Oct 2010 07:03:42 GMT ETag: "7ea08-630-492159c5f6cf4" Content-length: 1584 Connection: Close Proxy-Connection: Close X-Cache: HIT from web1.osuosl.org Server: ProxyTrack 0.5 (HTTrack 3.49.2) Index: tools/dev/mk_language_shell.in =================================================================== --- tools/dev/mk_language_shell.in (revision 49475) +++ tools/dev/mk_language_shell.in (working copy) @@ -647,6 +647,8 @@ SUPER(); }; +/* + =item C Returns a vector-like PMC. @@ -656,12 +658,9 @@ */ METHOD PMC* get() { - PMC* property; - INTVAL array_t; - STRING* property_name; + PMC* property = VTABLE_getprop(INTERP, SELF, property_name); + STRING* property_name = string_from_literal(INTERP, "property"); - property_name = string_from_literal(INTERP, "property"); - shape = VTABLE_getprop(INTERP, SELF, property_name); if (PMC_IS_NULL(property)) { /* * No property has been set yet. This means that we are @@ -671,7 +670,7 @@ * specify it? */ /* - array_t = Parrot_pmc_get_type_str(INTERP, + INTVAL array_t = Parrot_pmc_get_type_str(INTERP, string_from_literal(INTERP, "@lang@")); */ property = Parrot_pmc_new(INTERP, VTABLE_type(INTERP, SELF)); @@ -710,7 +709,7 @@ old_property = VTABLE_getprop(INTERP, SELF, property_name); VTABLE_setprop(INTERP, SELF, property_name, new_property); - /* how big are these property? */ + /* how big are these properties? */ old_size = size(INTERP, SELF, old_property); new_size = size(INTERP, SELF, new_property);