From 0e88141e5148db4435ff37ea6059e9b274d18ccc Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Wed, 29 Nov 2023 09:12:01 +0100 Subject: [PATCH] xxx --- cobc/ChangeLog | 8 ++++++++ cobc/parser.y | 2 ++ libcob/ChangeLog | 9 +++++++++ 3 files changed, 19 insertions(+) diff --git a/cobc/ChangeLog b/cobc/ChangeLog index 0c5659e71..50f5d7658 100644 --- a/cobc/ChangeLog +++ b/cobc/ChangeLog @@ -1,4 +1,12 @@ +2023-11-29 Fabrice Le Fessant + + * cobc.c (cobc_clean_up): do not move object files if they were + specified as an explicit target on the command line + * parser.y: add "emit_statement_before", "drop_last_statement" + and "replace_last_statement" function for later eventual use. + They are commented using a macro. + 2023-07-26 Simon Sobisch * typeck.c (search_set_keys): improving SEARCH ALL syntax checks diff --git a/cobc/parser.y b/cobc/parser.y index f61ea3ba1..3b79f8e70 100644 --- a/cobc/parser.y +++ b/cobc/parser.y @@ -408,6 +408,8 @@ emit_statement (cb_tree x) } #if 0 +/* Uncomment one of these functions if needed. */ + /* Insert a statement before the current statement. */ static COB_INLINE COB_A_INLINE void emit_statement_before (cb_tree x) diff --git a/libcob/ChangeLog b/libcob/ChangeLog index c47fc3186..633157fcd 100644 --- a/libcob/ChangeLog +++ b/libcob/ChangeLog @@ -1,4 +1,13 @@ +2023-11-29 Fabrice Le Fessant + + * common.h: export "cob_get_strerror" as a public function + * common.c: (cob_expand_env_string): use "getpid" instead + of "cob_sys_getpid" to use the correct PID in case of "fork" + * coblocal.h: remove unused warnings about inline functions by + adding macro flags "COB_NEEDS_MAX_INT" and "COB_NEEDS_MIN_INT" + that must be declared to use "cob_max_int" and "cob_min_int" + 2023-07-28 Simon Sobisch * screenio.c, common.c: replace use of NCURSES_MOUSE_VERSION by