-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug #948: make HIGH/LOW-VALUE sensitive to ASCII/EBCDIC program c…
…ollating sequence
- Loading branch information
Showing
9 changed files
with
301 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
|
||
2024-02-26 David Declerck <[email protected]> | ||
|
||
BUG #948: comparison with HIGH-VALUE in presence of collating sequences | ||
* tree.h: add low_value and high_value fields to hold the low | ||
and high values used by the program collating sequence | ||
* tree.c: initialize the low_value and high_value fields | ||
to reasonable default values | ||
* typeck.c: replace cob_refer_ascii and cob_refer_ebcdic by | ||
ebcdic_to_ascii and ascii_to_ebcdic; add load_collating_table | ||
to load the tables; modify cb_validate_collating to call | ||
load_collating_table and set low_value and high_value | ||
fields modify validate_alphabet to use the new tables | ||
* cobc.h: export the new symbols defined in typeck.c | ||
* codegen.c: replace hard-coded 0 and 255 / 0xff contants with | ||
the low_value and high_value fields where appropriate; move | ||
the cob_all_low and cob_all_high fields from global to local; | ||
adjust the output_collating_tables function to use the tables and | ||
functions defined in typeck.c; set the new module field low_value | ||
|
||
2024-01-25 David Declerck <[email protected]> | ||
|
||
FR #459: support COLLATING SEQUENCE clause on SELECT / INDEXED files | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
|
||
2024-02-26 David Declerck <[email protected]> | ||
|
||
BUG #948: comparison with HIGH-VALUE in presence of collating sequences | ||
* strings.c: use the collating_sequence field of cob_module to | ||
determine the low value instead of the hard-coded constant "\0" | ||
|
||
2024-01-25 David Declerck <[email protected]> | ||
|
||
FR #459: support COLLATING SEQUENCE clause on SELECT / INDEXED files | ||
|
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.