forked from OCamlPro/gnucobol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gnucobol-3.x' into gcos4gnucobol-3.x
- Loading branch information
Showing
38 changed files
with
42,545 additions
and
10,928 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,12 @@ | ||
|
||
2023-04-25 Simon Sobisch <[email protected]> | ||
|
||
* configure.ac: try to error on warnings during checks, cleanup of resulting | ||
unexpected test failures | ||
* configure.ac: drop deprecated-non-prototype warning in clang | ||
* configure.ac: add LIBCOB_LIBS while checking for libraries | ||
* configure.ac: added check for HAVE_ATTRIBUTE_CONSTRUCTOR | ||
|
||
2023-04-05 Simon Sobisch <[email protected]> | ||
|
||
* configure.ac: pass --enable-debug to autoconf generated files as | ||
|
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,88 @@ | ||
|
||
2023-05-23 Simon Sobisch <[email protected]> | ||
|
||
* parser.y (control_source): allow both an alphanumeric identifier or | ||
literal for use with CONTROL phrase | ||
* parser.y: adjust a bunch of terminals to match the internal name with | ||
leading underscore as optional | ||
|
||
2023-05-15 Simon Sobisch <[email protected]> | ||
|
||
* cobc.c (set_category, set_category_from_usage): changed argument types | ||
from int to their matching enum | ||
* tree.c (cb_build_prototype), parser.y (setup_prototype), | ||
tree.h (struct cb_prototype): use matching enum | ||
|
||
2023-05-11 Simon Sobisch <[email protected]> | ||
|
||
* cobc.c (cobc_check_valid_name): allow leading underscore, | ||
prevent leading hyphen | ||
* scanner.l (error_literal): change parameter literal_error to unsigned | ||
and raise only a warning for negative values, adjust callers | ||
* scanner.l (scan_x): internally handle odd numbers of x'' literals, | ||
raise only a warning if the size is 1 and relaxed-syntax is active | ||
* parser.y (data_description): improve error handling in DATA DIVISION | ||
to raise less errors and create "validated invalid" fields | ||
|
||
2023-05-10 Simon Sobisch <[email protected]> | ||
|
||
* field.c (cb_build_field_tree), parser.y: copy SCREEN SECTION | ||
attributes from parent - instead of doing it in the parser | ||
* parser.y (validate_screen_attributes): extracted duplicate code | ||
* typeck.c (emit_field_accept_display): new function extracted | ||
from (cb_emit_accept), handling both DISPLAY and ACCEPT | ||
* typeck.c (cob_field_display): dropped, replaced in the callers | ||
by call to (emit_field_accept_display) for not generating a call to | ||
fixed-attribute "cob_field_display" but to the varargs | ||
function "cob_display_field" | ||
* codegen.c (output_screen_init), codeoptim.c (COB_SET_SCREEN): | ||
generate screen init not as separate function "cob_set_screen" but | ||
as macro "COB_SET_SCREEN" (there's no need or use to put all | ||
attributes on the stack) | ||
|
||
2023-05-09 Simon Sobisch <[email protected]> | ||
|
||
* codegen.c (output_funcall): backup and restore adjusted static fields, | ||
minor refactoring | ||
* codegen.c (output_funcall_item): extracted from (output_funcall) | ||
* typeck.c (cb_emit_accept): dropped cb_gen_field_accept and don't generate | ||
call to fixed-attribute "cob_field_accept", instead generate a call to | ||
the varargs function "cob_accept_field" with passing only the attributes | ||
that are set (including the new CONTROL, COLOR and CURSOR) | ||
|
||
2023-05-08 Simon Sobisch <[email protected]> | ||
|
||
* tree.c (cb_build_funcall), tree.h (struct cb_funcall): defined | ||
max. parameters for internal function calls as CB_BUILD_FUNCALL_MAX | ||
and increased it to 14 | ||
|
||
FR #189 + FR #355 - runtime-adjustable attributes for extended screenio | ||
* tree.h (cb_field): new attributes screen_control and screen_color | ||
* tree.h (cb_attr_struct): new attributes control, color and cursor | ||
* parser.y, typeck.c (validate_attrs, cb_emit_accept, cb_emit_display, | ||
emit_field_display_for_last): add complete parsing for CONTROL, | ||
COLOR and CURSOR and set/read new attributes as appropriate | ||
* parser.y: pass COB_SCREEN_CONV to runtime (currently not handled) | ||
|
||
2023-05-05 Simon Sobisch <[email protected]> | ||
|
||
* field.c (cb_resolve_redefines): fix #881 wrong REDEFINES error on | ||
fields with redefinition | ||
|
||
2023-05-04 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (cb_build_move_literal): restore writing of negative zero | ||
(DISPLAY overpunched), that was removed undocumented with 2.0 | ||
* typeck.c (cb_build_move_literal): optimized output for literals to | ||
fields with BLANK WHEN ZERO and SIGN LEADING | ||
|
||
2023-04-25 Simon Sobisch <[email protected]> | ||
|
||
* codegen.c (output_so_load_version_check): new function to generate | ||
libcob version check in shared object constructor / DllMain, allowing | ||
better error messages if the generated COBOL functions cannot be loaded | ||
into memory because of newer ABI | ||
|
||
2023-04-18 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (cb_build_move_field): emit call to cob_move_bcd for two | ||
|
@@ -184,6 +268,8 @@ | |
* parser.y (usage_clause_screen_report), typeck.c (validate_usage): have | ||
REPORT and SCREEN section only expecting the possibly USAGEs instead all | ||
removing the need to check for bad USAGE later | ||
* parser.y (display_erase, display_pos_specifier): pass display attributes | ||
to codegen | ||
|
||
2023-01-28 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -4035,7 +4121,7 @@ | |
|
||
2017-10-18 Ron Norman <[email protected]> | ||
|
||
* codegen.c (output_internal_function): Fixed problem with braces in | ||
* codegen.c (output_internal_function): fixed problem with braces in | ||
variable dump code | ||
|
||
2017-10-17 Ron Norman <[email protected]> | ||
|
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.