-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revision(en) 5075-5077 von branches/gnucobol-3.x zusammengeführt:
minor cleanup and SORT/MERGE adjustments libcob: * fsqlxfd.c (cob_findkey_attr), fileio.c, fisam.c: extracted identical logic from cob_findkey, indexed_findkey and db_findkey; dropping the later two and set mapkey after calling it * Makefile.am: link fsqlxfd into all libraries (may be adjusted later) * fileio.c (cob_file_create), common.h: prefer relevant enums over int * fileio.c (cob_file_sort_using, cob_file_sort_giving): raise COB_EC_SORT_MERGE_FILE_OPEN when applicable * fileio.c (cob_copy_check, cob_file_sort_submit, cob_file_sort_retrieve): pass most matching argument type instead of the structures containing it * fileio.c (cobsort): new attribute flag_merge * fileio.c (cob_file_sort_options), common.h: new function to pass more options, so far only used to set flag_merge cobc: * tree.h (cb_file), parser.y: organization and access_mode as enums * typeck.c (cb_emit_sort_init, cb_emit_sort_using, cb_emit_sort_giving), parser.y: extended syntax checks, distinguish MERGE and SORT within diagnostics * parser.y, typeck.c (cb_emit_sort_init): move all syntax checks from code-emitter to parser * tree.h (cb_statement), parser.y, typeck.c: drop flag_merge, instead check by "statement == STMT_MERGE" * typeck.c (cb_emit_sort_init): generate call to cob_file_sort_options tests/cobol85/report.pl: place stderr from test runs into .out file
sf-mensch
committed
Jun 4, 2023
1 parent
dd31efa
commit dc0a51e
Showing
20 changed files
with
422 additions
and
328 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
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
Oops, something went wrong.