-
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
500 additions
and
109 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 |
---|---|---|
|
@@ -109,6 +109,25 @@ | |
* codegen.c: handle profiling code generation under the | ||
cb_flag_prof guard | ||
|
||
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-02-19 Boris Eng <[email protected]> | ||
|
||
* parser.y (screen_value_clause): replaced basic literals by literals | ||
|
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 |
---|---|---|
|
@@ -143,6 +143,12 @@ | |
FR #488: using state structures instead of state vars for strings | ||
* strings.c: moved static variables to structures | ||
|
||
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 | ||
|
Oops, something went wrong.