Skip to content

Conversation

@tsh-hashimoto
Copy link
Contributor

This pull request introduces an exception handling mechanism in the GetInt interface and adds a new test case for the PERFORM UNTIL statement in COBOL programs. Additionally, it updates the Makefile to include the new test case.

Exception handling:

  • cobj/codegen.c: Updated the run method in the anonymous class to declare that it throws CobolStopRunException.
  • GetInt.java: Modified the run method to throw CobolStopRunException and added the necessary import statement.

New test case:

  • tests/misc.src/perform-until-div.at: Added a new test case for the PERFORM UNTIL statement with a condition that contains a division.

Makefile updates:

  • tests/Makefile.am: Included the new test case file in the misc_DEPENDENCIES list.
  • tests/misc.at: Added an m4_include directive for the new test case file.

@yutaro-sakamoto yutaro-sakamoto merged commit 5fdd7cb into opensourcecobol:develop Nov 7, 2024
124 checks passed
@yutaro-sakamoto yutaro-sakamoto mentioned this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants