Closed tsh-hashimoto closed 3 days ago
@tsh-hashimoto Please move config/allow-key-in-rhs.conf to other directory (e.g. tests/command-line-options.src/). Since compiler users refer to the config/ directory, any changes to the contents of the directory should be carefully considered.
@yutaro-sakamoto Thank you for checking.
I moved allow-key-in-rhs.conf
to tests/command-line-options.src/
(and a little fixed the test conf.at
).
There is a problem with this product: If there is an
OCCURS
key item on the right hand of theWHEN
conditional expression, a conversion error occurs.This problem can be avoided by specifying a configuration file with the
-conf
option when executingcobj
.This pull request includes the addition of a new COBOL compiler configuration file and updates to the test suite to verify the new configuration settings. The most important changes are:
Configuration updates:
config/allow-key-in-rhs.conf
: setyes
toallow-search-key-in-rhs
.tests/command-line-options.src/
Testing updates:
tests/command-line-options.src/conf.at
: update to include new test cases for theallow-search-key-in-rhs
configuration. These test cases check the behavior of COBOL programs with different configurations and ensure they compile correctly.