SourceForge has been redesigned. Learn more.
Close

Diff of /main/trunk/interpreter/instructions/ClassDirective.cpp [r8285] .. [r8286]  Maximize  Restore

Switch to side-by-side view

--- a/main/trunk/interpreter/instructions/ClassDirective.cpp
+++ b/main/trunk/interpreter/instructions/ClassDirective.cpp
@@ -148,7 +148,7 @@
  *
  * @param activation The activation we're running under for the install.
  */
-void ClassDirective::install(RexxSource *source, RexxActivation *activation)
+RexxClass *ClassDirective::install(RexxSource *source, RexxActivation *activation)
 {
     RexxClass *metaclass = OREF_NULL;
     RexxClass *subclass = TheObjectClass;
@@ -217,6 +217,8 @@
         /* define them to the class object   */
         classObject->defineMethods(instanceMethods);
     }
+    // the source needs this at the end so it call call the activate methods
+    return classObject;
 }