On Thursday 12 June 2008 05:45:33 [EMAIL PROTECTED] wrote:
> Modified:
> trunk/src/ops/object.ops
>
> Log:
> [core] addattribute op should work for roles as well as classes.
>
> Modified: trunk/src/ops/object.ops
> ===========================================================================
>=== --- trunk/src/ops/object.ops (original)
> +++ trunk/src/ops/object.ops Thu Jun 12 05:45:32 2008
> @@ -466,8 +466,9 @@
>
> inline op addattribute(invar PMC, in STR) :object_classes {
> STRING * const class_name = string_from_literal(interp, "Class");
> + STRING * const role_name = string_from_literal(interp, "Role");
Those should probably both be CONST_STRING (if CONST_STRING works in .ops
files, which it should).
-- c