Index: generic/predefined.h =================================================================== diff -u -raa1943604c4de3d538dff67d5e9e238323d37474 -r6ef3475add453ab5c2d62ca807a545bf4bc0686a --- generic/predefined.h (.../predefined.h) (revision aa1943604c4de3d538dff67d5e9e238323d37474) +++ generic/predefined.h (.../predefined.h) (revision 6ef3475add453ab5c2d62ca807a545bf4bc0686a) @@ -35,14 +35,12 @@ "::nx::core::methodproperty Class alloc redefine-protected true\n" "::nx::core::methodproperty Class dealloc redefine-protected true\n" "::nx::core::methodproperty Class create redefine-protected true\n" -"# anInstance foo; # invokes \"foo\"\n" "::nx::core::method Class method {\n" "name arguments body -precondition -postcondition} {\n" "set conditions [list]\n" "if {[info exists precondition]} {lappend conditions -precondition $precondition}\n" "if {[info exists postcondition]} {lappend conditions -postcondition $postcondition}\n" "::nx::core::method [::nx::core::current object] $name $arguments $body {*}$conditions}\n" -"#\n" "::nx::core::method Object method {\n" "name arguments body -precondition -postcondition} {\n" "set conditions [list]\n" @@ -82,10 +80,8 @@ ":protected method init args {}\n" ":protected method defaultmethod {} {::nx::core::current object}\n" ":protected method objectparameter {} {;}}\n" -"# argument list on position POS, where POS can be a positive or\n" "# left to right and should be used in ascending order.\n" "::nx::core::forward Object forward ::nx::core::forward %self -per-object\n" -"# {{{ {%@POS value} }}} substitute the specified value in the\n" "# integer or the word end. The positional arguments are evaluated from\n" "::nx::core::forward Class forward ::nx::core::forward %self\n" "Class protected object method __unknown {name} {}\n" @@ -383,9 +379,7 @@ "::nx::RelationSlot create ${os}::Class::slot::object-filter -elementtype \"\"}\n" "::nx::core::register_system_slots ::nx\n" "proc ::nx::core::register_system_slots {} {}\n" -"::nx::MetaSlot __invalidateobjectparameter}\n" -"namespace eval ::nx {}\n" -"namespace eval ::nx {\n" +"::nx::MetaSlot __invalidateobjectparameter\n" "::nx::MetaSlot create ::nx::Attribute -superclass ::nx::ObjectParameterSlot\n" "createBootstrapAttributeSlots ::nx::Attribute {\n" "{value_check once}\n"