--- parser3/src/include/Attic/pa_vobject.h 2001/02/25 16:36:11 1.7 +++ parser3/src/include/Attic/pa_vobject.h 2001/03/07 13:54:47 1.9 @@ -1,5 +1,5 @@ /* - $Id: pa_vobject.h,v 1.7 2001/02/25 16:36:11 paf Exp $ + $Id: pa_vobject.h,v 1.9 2001/03/07 13:54:47 paf Exp $ */ #ifndef PA_VOBJECT_H @@ -15,10 +15,10 @@ class VObject : public VAliased { public: // Value // all: for error reporting after fail(), etc - const char *type() const { return "Object"; } + const char *type() const { return "object"; } // object_instance: (field)=value;(CLASS)=vclass;(method)=method_ref - Value *get_element(const String& name) { + Value *get_element(String& name) { // $CLASS=my class if(name==CLASS_NAME) return class_alias; @@ -27,7 +27,7 @@ public: // Value return class_alias->base(); // $method=junction(self+class+method) if(Junction *junction=class_real.get_junction(*this, name)) - return NEW VJunction(*junction); + return NEW VJunction(*junction);; // $field=fields.field return static_cast(fields.get(name)); }