|
18 | 18 | * typeck.c (cb_emit, cb_emit_list): changed from defines to inline
|
19 | 19 | functions, now returning the tree that was emitted
|
20 | 20 |
|
| 21 | +2023-09-01 Simon Sobisch < [email protected]> |
| 22 | + |
| 23 | + * error.c, cobc.c (print_program_trailer), flag.def: |
| 24 | + implemented -fmax-errors=0 as unlimited |
| 25 | + |
21 | 26 | 2023-06-02 Simon Sobisch < [email protected]>
|
22 | 27 |
|
23 | 28 | * tree.h (cb_file), parser.y: organization and access_mode as enums
|
|
40 | 45 | * typeck.c: Check for small integer for add/subtruct and use
|
41 | 46 | cob_add_int/cob_sub_int as the speed in this case was improved
|
42 | 47 |
|
| 48 | +2023-02-24 Simon Sobisch < [email protected]> |
| 49 | + |
| 50 | + * codegen.c (output_initial_values): drop wrong init comment |
| 51 | + * field.c (copy_into_field): set EXTERNAL name if missing |
| 52 | + * pplex.l, scanner.l: dropped extra line breaks before area_a token |
| 53 | + * pplex.l (ppinput): insert "preparse area_a token" in column 1 instead |
| 54 | + of column 2 to fix terminal-format support and insert it before |
| 55 | + newlines are added to the beginning of the buffer |
| 56 | + |
| 57 | +2023-02-21 Simon Sobisch < [email protected]> |
| 58 | + |
| 59 | + * codegen.c, flag.def [COBC_HAS_CUTOFF_FLAG]: fix compile errors, |
| 60 | + output -fif-cutoff to help when available |
| 61 | + |
| 62 | +2023-02-20 Nicolas Berthier < [email protected]> |
| 63 | + |
| 64 | + * scanner.l, config.def: Add support for EBCDIC symbolic characters in |
| 65 | + alphanumeric literals, which is a GCOS-specific extension; add new |
| 66 | + configuration option ebcdic-symbolic-characters |
| 67 | + * scanner.l, pplex.l: detect and issue a warning when EBCDIC |
| 68 | + symbolic character strings include extraneous separators |
| 69 | + |
| 70 | +2023-02-20 Fabrice Le Fessant < [email protected]> |
| 71 | + |
| 72 | + * scanner.l (read_literal): refactor to use enum cb_literal_type |
| 73 | + instead of a char* for the type of literal |
| 74 | + * pplex.l: allow REPLACE between Gcos CONTROL DIVISION and |
| 75 | + the IDENTIFICATION DIVISION |
| 76 | + |
43 | 77 | 2023-02-19 Ron Norman < [email protected]>
|
44 | 78 |
|
45 | 79 | * cobc.c,cobc.h: Added cb_max_binary to hold max digits allowed in binary
|
|
49 | 83 | * tree.c: Change to use cb_max_binary instead of constant
|
50 | 84 | * typeck.c: Change to use cb_max_binary instead of constant
|
51 | 85 |
|
52 |
| -2023-01-23 David Declerck < [email protected]> |
| 86 | +2023-02-10 Simon Sobisch < [email protected]> |
| 87 | + |
| 88 | + * cobc.c (clean_up_intermediates): fix missing move of temporary files |
| 89 | + when --save-temps=dir is used in combination with -g |
| 90 | + * field.c (cb_build_field_tree), tree.h, parser.y: pass level number as |
| 91 | + integer, not as cb_tree |
| 92 | + |
| 93 | +2023-02-09 Simon Sobisch < [email protected]> |
| 94 | + |
| 95 | + * typeck.c (validate_alphabet): slightly rewritten to fix compiler warnings |
| 96 | + * config.c, pparse.y (ppp_replace_list_add), reserved.c (is_invalid_word), |
| 97 | + tree.c, tree.h, typeck.c: minor adjustments to fix compiler warnings |
| 98 | + * field.c (validate_multi_value, validate_elem_value), |
| 99 | + parser.y (setup_external_definition): fixed analyzer warnings by switching |
| 100 | + "for" (hint at "possibly NULL" at start) to "while" |
| 101 | + |
| 102 | +2023-02-08 Simon Sobisch < [email protected]> |
| 103 | + |
| 104 | + * cobc.c (rep_name_list): elide PICTURE string in symbol listing |
| 105 | + when too long (also fixing a possible SIGSEGV on WIN32) |
| 106 | + * cobc.h: fixed prototype for cobc_set_listing_header_code, |
| 107 | + cobc_get_margin_a, cobc_get_margin_b |
| 108 | + * cobc.c: remove trailing slash from -I and -L as those break some |
| 109 | + tab-completed command lines and -MD generation |
| 110 | + * cobc.c [_WIN32, DOS]: replace forward slash to backslash for -I |
| 111 | + fixing -MD generation on mingws/msys environments |
| 112 | + * pplex.l (ppcopy_find_file, ppcopy): replace slash to match system and |
| 113 | + always place name in buffer to allow this |
| 114 | + |
| 115 | +2023-02-01 Simon Sobisch < [email protected]> |
| 116 | + |
| 117 | + * parser.y (rep_name_list): fixed error handling loop |
| 118 | + |
| 119 | +2023-01-30 Simon Sobisch < [email protected]> |
| 120 | + |
| 121 | + * field.c (copy_into_field, copy_into_field_recursive): fix missing set |
| 122 | + of flag_is_pointer, fixing TYPEDEF + SAME AS with pointer types |
| 123 | + * parser.y, reserved.c: add DISPLAY-1 as PENDING, |
| 124 | + actually pass NATIONAL usage if specified |
| 125 | + * field.c (compute_size), tree.c (cb_tree_type): handle CB_USAGE_NATIONAL |
| 126 | + * parser.y, reserved.c: add DATA-POINTER and FUNCTION-POINTER as PENDING |
| 127 | + * cobc.c (set_picture): output pointer-type in listing if specified |
| 128 | + * parser.y (usage_clause_screen_report), typeck.c (validate_usage): have |
| 129 | + REPORT and SCREEN section only expecting the possibly USAGEs instead all |
| 130 | + removing the need to check for bad USAGE later |
| 131 | + |
| 132 | +2023-01-28 Simon Sobisch < [email protected]> |
| 133 | + |
| 134 | + * codeoptim.c: adjusted inline functions (cob_cmp_packed_int, |
| 135 | + cob_get_packed_int) to use register types and less intermediate values |
| 136 | + |
| 137 | +2023-01-28 Fabrice Le Fessant < [email protected]> |
| 138 | + |
| 139 | + * cobc.c (main): initialize cb_config_text_column to 72 to avoid a |
| 140 | + race condition in config files. |
| 141 | + * pplex.l (ppopen): try to autodetect the format of a file after |
| 142 | + checking the BOM of a file |
| 143 | + * pplex.l (cobc_set_source_format): add new format name "AUTO" to |
| 144 | + activate auto-detection of file format |
| 145 | + |
| 146 | +2023-01-26 Simon Sobisch < [email protected]> |
| 147 | + |
| 148 | + * codegen.c: generate field offsets and indexes as long long to |
| 149 | + fix overflow in (actually unsupported) access to huge tables |
| 150 | + * cobc.c (process_env_copy_path): changed to do getenv itself and |
| 151 | + to output ignored entries when running verbose |
| 152 | + * cobc.c (process_command_line): output ignored -I and -L options |
| 153 | + when running verbose |
| 154 | + |
| 155 | +2023-01-23 David Declerck < [email protected]> |
53 | 156 |
|
54 | 157 | FR #429: option to specify conversion table via translation table file
|
55 | 158 | * cobc.c, flag.def, cobc.h: handle external table for "ebcdic-table"
|
|
69 | 172 | out of bounds
|
70 | 173 | * codeoptim.c: Fix cob_check_subscript_inline for min subscript value
|
71 | 174 |
|
| 175 | +2023-01-19 Simon Sobisch < [email protected]> |
| 176 | + |
| 177 | + * help.c (cobc_print_usage): fixed msgid to match bin/cobcrun.c |
| 178 | + * flag.def: use correct option names in help output |
| 179 | + * config.def: fixed typos and spacing in msgids |
| 180 | + * flag.def: removed duplicated msgid - those are printed in help.c only |
| 181 | + * typeck.c (cb_emit_goto_entry), tree.h, parser.y: dropped duplicated |
| 182 | + function and msgid, using cb_emit_goto instead |
| 183 | + * parser.y (_goto_depending), typeck.c (cb_emit_goto): check via use of |
| 184 | + numeric_identifier in the parser instead of postponed checking |
| 185 | + * parser.y (assign_clause), typeck.c (cb_check_numeric_value, |
| 186 | + cb_validate_collating, validate_assign_name, |
| 187 | + cb_check_integer_value, error_if_not_int_field_or_has_pic_p): |
| 188 | + dropped very similar msgids using standard ones for the checks |
| 189 | + * tree.c (get_category_from_arguments, get_number_in_parentheses): msgid |
| 190 | + related changes |
| 191 | + |
72 | 192 | 2023-01-18 Simon Sobisch < [email protected]>
|
73 | 193 |
|
74 | 194 | * parser.y (cb_default_colseq, build_default_colseq, setup_default_colseq):
|
|
596 | 716 | FR #360 AREACHECK
|
597 | 717 | FR #309 raise warnings/errors when some periods are missing
|
598 | 718 | * config.def: add dialect options areacheck and missing-period
|
599 |
| - * pplex.l, scanner.l, parser.y: check for empty Area A, and use a |
| 719 | + * pplex.l, scanner.l, parser.y: check for empty Area A, and use a set of |
600 | 720 | dedicated *_IN_AREA_A tokens to detect missing periods and incorrect
|
601 | 721 | use of Area A
|
602 | 722 | * pplex.l, scanner.l, parser.y: support AREACHECK and NOAREACHECK
|
|
7413 | 7533 |
|
7414 | 7534 | * Report Writer module
|
7415 | 7535 |
|
7416 |
| -201?-??-?? Sergey Kashyrin < [email protected]> |
7417 |
| - |
7418 |
| - * codeoptim.c : Fixed bug in COB_ADD_PACKED_INT. |
7419 |
| - Computing COMP-3 failed in MSVC-build versions, |
7420 |
| - in output_storage() calls '%' should be '%%'. |
7421 |
| - |
7422 | 7536 | 2012-05-09 Simon Sobisch < [email protected]>
|
7423 | 7537 |
|
7424 | 7538 | * cobc.c: Added conversion for enabling options in WIN style
|
|
0 commit comments