mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +02:00
* set isclassmethod also for class constructors/destructors in
implement_anon_inherited() git-svn-id: branches/jvmbackend@18480 -
This commit is contained in:
parent
990a4ccb64
commit
33bd3d7aa9
@ -204,9 +204,7 @@ implementation
|
||||
str: ansistring;
|
||||
isclassmethod: boolean;
|
||||
begin
|
||||
isclassmethod:=
|
||||
(po_classmethod in pd.procoptions) and
|
||||
not(pd.proctypeoption in [potype_constructor,potype_destructor]);
|
||||
isclassmethod:=(po_classmethod in pd.procoptions);
|
||||
str:=pd.customprocname([pno_proctypeoption,pno_paranames,pno_ownername,pno_noclassmarker,pno_noleadingdollar]);
|
||||
str:=str+'begin inherited end;';
|
||||
str_parse_method_impl(str,isclassmethod);
|
||||
|
Loading…
Reference in New Issue
Block a user