Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 23, 2024
1 parent d0cb765 commit 236c8b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
18 changes: 8 additions & 10 deletions cobc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,14 @@

2024-03-15 Fabrice Le Fessant <[email protected]>

* cobc.c: add new flags to output dependencies following gcc: -M to
output deps only, -MD to output deps while compiling (in .d files),
-MP to output phony targets, -MG to keep missing copybooks,
-MQ <target> to Makefile-quote target
* flags.def: -fcopybook-deps outputs only copybook names instead
of file paths. -fcopybook-deps also forces -E, -foneline-deps,
-MT=copybooks, disables errors on missing copybooks and removes
output on stdout.
* typeck.c (check_argument_conformance): check that param is well defined
to prevent a segfault
* cobc.c, help.c, pplex.l: add new flags to output dependencies following
gcc: -M to output deps only, -MD to output deps while compiling (in
.d files), -MP to output phony targets, -MG to keep missing copybooks,
-MQ <target> to Makefile-quote target ; add -fcopybook-deps to
output only copybook names instead of file paths. -fcopybook-deps
also forces -E, -foneline-deps, -MT=copybooks, disables errors on
missing copybooks and removes output on stdout
* pplex.l (cb_text_list): prevent duplicates

2024-02-19 Boris Eng <[email protected]>

Expand Down
1 change: 0 additions & 1 deletion cobc/typeck.c
Original file line number Diff line number Diff line change
Expand Up @@ -3588,7 +3588,6 @@ check_argument_conformance (struct cb_program *program, cb_tree argument_tripple
} else {
arg_field = NULL;
}
if (!CB_FIELD_P(param)) return;
param_field = CB_FIELD_PTR(CB_VALUE(param));

/*
Expand Down

0 comments on commit 236c8b2

Please sign in to comment.