-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #666 from smeup/bugfix/LS24005012/goto-in-call
Bugfix/ls24005012/goto in call
- Loading branch information
Showing
6 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
rpgJavaInterpreter-core/src/test/resources/GOTOTST10.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
V* ============================================================== | ||
V* 25/11/2024 APU002 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Execute a subroutine with a CALL to a program performing a top-level GOTO | ||
V* ============================================================== | ||
C EXSR SR1 | ||
C SETON LR | ||
|
||
C SR1 BEGSR | ||
C CALL 'GOTOTST10B' | ||
C 'ok' DSPLY | ||
C ENDSR |
10 changes: 10 additions & 0 deletions
10
rpgJavaInterpreter-core/src/test/resources/GOTOTST10B.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
V* ============================================================== | ||
V* 25/11/2024 APU002 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Being called by 'GOTOTST10.rpgle' | ||
V* ============================================================== | ||
C GOTO TAG1 | ||
C 'ko' DSPLY | ||
C TAG1 TAG | ||
C 'ok' DSPLY |