|
@@ -165,6 +165,11 @@ implementation
|
|
assigned(tprocdef(pd)._class) and
|
|
assigned(tprocdef(pd)._class) and
|
|
(pd.parast.symtablelevel=normal_function_level) then
|
|
(pd.parast.symtablelevel=normal_function_level) then
|
|
begin
|
|
begin
|
|
|
|
+ { static class methods have no hidden self/vmt pointer }
|
|
|
|
+ if (po_staticmethod in pd.procoptions) and
|
|
|
|
+ (po_classmethod in pd.procoptions) then
|
|
|
|
+ exit;
|
|
|
|
+
|
|
storepos:=current_tokenpos;
|
|
storepos:=current_tokenpos;
|
|
current_tokenpos:=tprocdef(pd).fileinfo;
|
|
current_tokenpos:=tprocdef(pd).fileinfo;
|
|
|
|
|