Skip to content

Commit 902cce6

Browse files
committed
'RTI'/'RTS' FORWARD Procedure/Function
1 parent 64f031c commit 902cce6

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

origin/CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
19.09.2025
2+
- 'RTI'/'RTS' FORWARD Procedure/Function
3+
14
16.09.2025
25
- bugfixes and optimizations (opt_ADR.pas) -> array 2D
36
- RecordSize (ENUM size)

origin/mp.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17214,7 +17214,7 @@ function CompileBlock(i: Integer; BlockIdentIndex: Integer; NumParams: Integer;
1721417214

1721517215
i := j + 1;
1721617216

17217-
GenerateReturn(IsNestedFunction, isInt, Ident[ForwardIdentIndex].isInline, Ident[ForwardIdentIndex].isOverload);
17217+
GenerateReturn(IsNestedFunction, Ident[ForwardIdentIndex].isInterrupt, Ident[ForwardIdentIndex].isInline, Ident[ForwardIdentIndex].isOverload);
1721817218

1721917219
if OutputDisabled then OutputDisabled := FALSE;
1722017220

src/CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
19.09.2025
2+
- 'RTI'/'RTS' FORWARD Procedure/Function
3+
14
16.09.2025
25
- bugfixes and optimizations (opt_ADR.pas) -> array 2D
36
- RecordSize (ENUM size)

src/Compiler.pas

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18718,8 +18718,11 @@ function CompileBlock(i: Integer; BlockIdentIndex: Integer; NumParams: Integer;
1871818718

1871918719
i := j + 1;
1872018720

18721-
GenerateReturn(IsNestedFunction, isInt, IdentifierAt(ForwardIdentIndex).isInline,
18722-
IdentifierAt(ForwardIdentIndex).isOverload);
18721+
GenerateReturn(IsNestedFunction,
18722+
IdentifierAt(ForwardIdentIndex).isInterrupt,
18723+
IdentifierAt(ForwardIdentIndex).isInline,
18724+
IdentifierAt(ForwardIdentIndex).isOverload
18725+
);
1872318726

1872418727
if OutputDisabled then OutputDisabled := False;
1872518728

0 commit comments

Comments
 (0)