mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:56:03 +02:00
fixed compilation with fpc 2.1.1
git-svn-id: trunk@8016 -
This commit is contained in:
parent
fc9c3bb22a
commit
e2ae1a8286
@ -3008,7 +3008,7 @@ begin
|
||||
// append registration code only for design time packages
|
||||
if (APackage.PackageType in [lptDesignTime,lptRunAndDesignTime]) then begin
|
||||
RegistrationCode:=
|
||||
+'procedure Register;'+e
|
||||
'procedure Register;'+e
|
||||
+'begin'+e
|
||||
+RegistrationCode
|
||||
+'end;'+e
|
||||
@ -3035,7 +3035,7 @@ begin
|
||||
+'uses'+e
|
||||
+' '+UsedUnits+';'+e
|
||||
+e;
|
||||
Src:=Src+
|
||||
Src:=Src
|
||||
+'implementation'+e
|
||||
+e
|
||||
+RegistrationCode
|
||||
|
Loading…
Reference in New Issue
Block a user