Skip to content

Commit

Permalink
Post-merges fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Oct 7, 2024
1 parent af19f0b commit 79f8cea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ https://sourceforge.net/p/gnucobol/code/HEAD/tree/external-doc/guide/

- Rework the context-sensitive reserved words handling (or use a bigger type)

- Add --error-list -e to cobc

7.2 CHECKMEs, TODOs and #if-0'ed code

- Investigate the two CHECKMEs about bdb_close_cursor in fbdb.c:ix_bdb_write_internal
Expand Down
5 changes: 2 additions & 3 deletions cobc/cobc.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ static const struct option long_options[] = {
{"std", CB_RQ_ARG, NULL, '$'},
{"conf", CB_RQ_ARG, NULL, '&'},
{"debug", CB_NO_ARG, NULL, 'd'},
{"ext", CB_RQ_ARG, NULL, 'e'}, /* note: kept *undocumented* until GC4, will be changed to '.' */
{"ext", CB_RQ_ARG, NULL, '.'},
{"free", CB_NO_ARG, NULL, 'F'}, /* note: not assigned directly as this is only valid for */
{"fixed", CB_NO_ARG, NULL, 'f'}, /* `int` and sizeof(enum) isn't always sizeof (int) */
{"static", CB_NO_ARG, &cb_flag_static_call, 1},
Expand Down Expand Up @@ -3675,8 +3675,7 @@ process_command_line (const int argc, char **argv)
#endif
break;

case 'e': /* until GC 4 we keep (undocumented) 'e',
but that's reserved for possible --error-log */
case '.':
/* -ext <xx> : Add an extension suffix */
if (strlen (cob_optarg) > 15U) {
cobc_err_exit (COBC_INV_PAR, "--ext");
Expand Down

0 comments on commit 79f8cea

Please sign in to comment.