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
36 changed files
with
1,853 additions
and
707 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,8 @@ | ||
|
||
2023-07-24 Simon Sobisch <[email protected]> | ||
|
||
* configure.ac: fix for resolving COBCRUN_NAME | ||
|
||
2023-05-25 Chuck Haatvedt <[email protected]> | ||
|
||
* configure.ac: added test for HAVE_RESIZE_TERM function | ||
|
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,8 +1,13 @@ | ||
|
||
2023-07-24 Simon Sobisch <[email protected]> | ||
|
||
* cob-config.in: prevent warning to use datadir, but not datarootdir; | ||
allow abbreviated commands (blatantly copied from configure script) | ||
|
||
2023-07-01 Fabrice Le Fessant <[email protected]> | ||
|
||
* cob-config: echo in same order as arguments. Add missing | ||
arguments (--bindir,--libdir,--datadir,--mandir,--includedir) | ||
* cob-config.in: echo in same order as arguments; add missing | ||
arguments (--bindir,--libdir,--datadir,--mandir,--includedir) | ||
|
||
2022-10-18 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -282,7 +287,7 @@ | |
then you can switch easily. | ||
|
||
|
||
Copyright 2004-2008,2010,2012,2014-2022 Free Software Foundation, Inc. | ||
Copyright 2004-2008,2010,2012,2014-2023 Free Software Foundation, Inc. | ||
|
||
Copying and distribution of this file, with or without modification, are | ||
permitted provided the copyright notice and this notice are preserved. |
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,9 +1,77 @@ | ||
|
||
2023-07-24 Simon Sobisch <[email protected]> | ||
|
||
* parser.y (entry_statement): don't check parameter address | ||
directly on ENTRY, because it just assigns it | ||
* codegen.c (output_internal_function, output_entry_function): moved | ||
setting of non-passed parameters to NULL to entry function as we only | ||
have ordinal CALL numbers available there; set BY VALUE parameters to | ||
zero instead of NULL | ||
* codegen.c (output_field_no_target): extracted to reduce code duplication | ||
* typeck.c (cb_emit_call): fixed skipping memory-fence generation for | ||
EXTERNAL/BASED sub-fields | ||
|
||
2023-07-22 Simon Sobisch <[email protected]> | ||
|
||
* field.c (compute_size): inspect field storage to check for | ||
the appropriate field size limit | ||
* tree.h (cb_field): new flag_above_unbounded | ||
* tree.c (cb_field_has_unbounded), tree.h: removed; use | ||
flag_above_unbounded in callers (typeck.c, cobc.c) instead | ||
* parser.y (occurs_clause): set flag_above_unbounded in parents | ||
|
||
2023-07-21 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (refmod_checks): fixed ec-bound-refmod checks for UNBOUNDED | ||
* field.c (compute_size): take fields before the UNBOUNDED field into | ||
account when calculating its maximum elements; | ||
fix compiler crash if DEPENDING field does not exist | ||
* parser.y (validated_field_reference): extracted from (identifier_field) | ||
and used in all places with the exact same code | ||
|
||
2023-07-20 Simon Sobisch <[email protected]> | ||
|
||
* field.c (copy_validation): new function | ||
* field.c (copy_validation, copy_into_field): handling validation | ||
* cobc.c (print_fields): leave a hint to field being TYPEDEF | ||
* cobc.c (xref_fields): dont output references for TYPEDEF sub items | ||
|
||
2023-07-19 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (refmod_checks): extracted from (cb_build_identifier) | ||
* typeck.c (refmod_checks): prevent condition-names to be reference-modified | ||
* parser.y (class_value): improved error messages | ||
* tree.c (cb_build_cast): set numeric category for all integer casts | ||
|
||
2023-07-15 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (cb_build_identifier): allow ref-mod up to identifier length | ||
* typeck.c (cb_build_identifier): new warning for suspicious reference- | ||
modification with start or length set to maximum and the other to var | ||
* typeck.c (cb_build_move_literal): optimize to cb_build_move_num_zero in | ||
more cases | ||
|
||
2023-07-13 Simon Sobisch <[email protected]> | ||
|
||
* pplex.l (cb_ppecho_direct, output_pending_newlines): output only up | ||
to 9 empty lines, for more empty lines in the preparsed output file | ||
generate a matching #line directive, this saves both space and serves | ||
as a workaround for an unclear scanner bug that may happen with huge | ||
amounts of empty lines | ||
* pplex.l (switch_to_buffer): don't re-strdup the filename | ||
* parser.y (emit_statement): changed from define to inline function | ||
* codegen.c: complete output of program's end source location if requested | ||
* scanner.l: handle line directive in any state | ||
* warning.def, typeck.c (validate_move), cobc.c (process_command_line): | ||
* use existing -Wstrict-typing only for "strict" type mismatches, including | ||
"same size, different type" and move it to -Wextra; the other mismatches | ||
are still raised with -Wall but under the new -Wtyping | ||
|
||
2023-07-11 Fabrice Le Fessant <[email protected]> | ||
|
||
* parser.y: fix code generation for OPEN/CLOSE with multiple | ||
filenames, where DECLARATIVES for all arguments were called when | ||
only one argument failed | ||
filenames, where DECLARATIVES for all arguments were called when | ||
only one argument failed | ||
|
||
2023-07-10 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -192,6 +260,8 @@ | |
2023-05-30 Simon Sobisch <[email protected]> | ||
|
||
* typeck.y (is_subordinate_to): start with parent, not field | ||
* field.c (copy_into_field_recursive, copy_into_field): handling more | ||
field attributes, don't re-build picture | ||
|
||
2023-05-28 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -202,6 +272,11 @@ | |
|
||
* parser.y, reserved.c: added RIGHTLINE - GC extension matching LEFLINE | ||
* parser.y: drop PENDING from OVERLINE and LEFTLINE | ||
* tree.c (cb_build_intrinsic): refactored to get the name in a single place | ||
* field.c (create_implicit_picture): don't imply a size if the source for | ||
VALUE is an intrinsic function or compile-time constant | ||
* field.c (create_implicit_picture): don't stop on errors but still create | ||
an implied PIC to allow more checks later | ||
|
||
2023-05-24 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -234,13 +309,24 @@ | |
literal for use with CONTROL phrase | ||
* parser.y: adjust a bunch of terminals to match the internal name with | ||
leading underscore as optional | ||
* cobc.c: check for duplicate source file and skip with warning | ||
* pplex.l: check for recursive file by resolved file name | ||
|
||
2023-05-19 Simon Sobisch <[email protected]> | ||
|
||
* parser.y (usage), field.c (validate_field_1): postpone setting of | ||
field attribute flag_is_pointer from parsing the USAGE clause to final | ||
field validation, fixing group and "child" USAGE, as well as | ||
TYPEDEF + SAME AS with pointer types | ||
|
||
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 | ||
* tree.c (cb_field), parser.y, reserved.c: added parsing of GROUP-USAGE | ||
* field.c (validate_field_1): handle new attribute group_usage | ||
|
||
2023-05-11 Simon Sobisch <[email protected]> | ||
|
||
|
@@ -305,6 +391,11 @@ | |
* typeck.c (cb_build_move_literal): optimized output for literals to | ||
fields with BLANK WHEN ZERO and SIGN LEADING | ||
|
||
2023-05-02 Simon Sobisch <[email protected]> | ||
|
||
* field.c: inclusion of condition-names (level 88) into field that use a | ||
TYPEDEF defintion | ||
|
||
2023-04-25 Simon Sobisch <[email protected]> | ||
|
||
* codegen.c (output_so_load_version_check): new function to generate | ||
|
@@ -516,8 +607,6 @@ | |
|
||
2023-01-30 Simon Sobisch <[email protected]> | ||
|
||
* field.c (copy_into_field, copy_into_field_recursive): fix missing set | ||
of flag_is_pointer, fixing TYPEDEF + SAME AS with pointer types | ||
* parser.y, reserved.c: add DISPLAY-1 as PENDING, | ||
actually pass NATIONAL usage if specified | ||
* field.c (compute_size), tree.c (cb_tree_type): handle CB_USAGE_NATIONAL | ||
|
@@ -2278,7 +2367,8 @@ | |
|
||
2020-09-27 Bob Dubner <[email protected]> | ||
|
||
* codegen.c (output_cobol_info): emit doubled backslashes for source file | ||
* codegen.c (output_cobol_info): emit doubled backslashes for source file, | ||
fixing bug #698 problem with #line directives | ||
|
||
2020-09-22 James K. Lowden <[email protected]> | ||
|
||
|
Oops, something went wrong.