diff --git a/harbour/include/hbclass.ch b/harbour/include/hbclass.ch index 7696f16d6c..4583a313f7 100644 --- a/harbour/include/hbclass.ch +++ b/harbour/include/hbclass.ch @@ -39,7 +39,7 @@ * * Copyright 2000 JF Lefebvre and RA Cuylen * Support for Class(y), TopClass and Visual Object compatibility - * Support for MI (multiple inheritance), + * Support for MI (multiple inheritance), * Scoping (Protect, Hidden and Readonly), * Delegating, DATA Shared * Support of 10 Chars limits @@ -101,7 +101,9 @@ #xtranslate ( { [] } => ( ():New(

) #xtranslate := { [] } => := ():New(

) #xtranslate = { [] } => = ():New(

) -#xtranslate , { [] } => , ():New(

) + +// This rule is generating preprocess matching errors. +// #xtranslate , { [] } => , ():New(

) #xtranslate EXPORTED: => nScope := HB_OO_CLSTP_EXPORTED #xtranslate VISIBLE: => nScope := HB_OO_CLSTP_EXPORTED @@ -274,7 +276,7 @@ #xcommand METHOD ( [] ) SETGET => ; oClass:AddMethod( <(MethodName)>, CLSMETH _CLASS_NAME_ (), HB_OO_CLSTP_EXPORTED + HB_OO_CLSTP_READONLY ) ;; - oClass:AddMethod( _<(MethodName)>, CLSMETH _CLASS_NAME_ _() ) + oClass:AddMethod( "_" + <(MethodName)>, CLSMETH _CLASS_NAME_ () ) #xcommand ACCESS => ; oClass:AddMethod( <(AccessName)>, CLSMETH _CLASS_NAME_ (), HB_OO_CLSTP_EXPORTED + HB_OO_CLSTP_READONLY ) @@ -337,4 +339,3 @@ #endif /* HB_SHORTNAMES */ #endif /* HB_CLASS_CH_ */ -