Skip to content

Commit

Permalink
Merge SVN 5110
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Jan 13, 2025
1 parent 8553c97 commit acdd486
Show file tree
Hide file tree
Showing 6 changed files with 414 additions and 209 deletions.
37 changes: 26 additions & 11 deletions cobc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* error.c, cobc.c (print_program_trailer), flag.def:
implemented -fmax-errors=0 as unlimited

2023-07-05 Fabrice Le Fessant <[email protected]>
2023-07-06 Fabrice Le Fessant <[email protected]>

* replace.c: rewrite the code for preprocessing with a two-phase
algorithm. The first phase performs COPY REPLACING on the stream
Expand All @@ -46,16 +46,6 @@
and fixes bug #831 partially.
* cobc.c: flag -P now accepts - as argument to mean stdout

2023-07-02 Fabrice Le Fessant <[email protected]>

* pplex.l/replace.c: move the preprocessing code performing
COPY REPLACING and REPLACE from pplex.l to replace.c

2023-07-02 Fabrice Le Fessant <[email protected]>

* pplex.l (ppecho, ppecho_direct): replace alt_space by passing a
second equivalent token

2023-07-05 Fabrice Le Fessant <[email protected]>

* flag.def/cobc.c: new flags -fno-ttimestamp to suppress timestamp
Expand All @@ -66,6 +56,13 @@
CB_FLAG_GETOPT_. Remove unused 'case 6:' for -fdefaultbyte that is
now handled in config.c

2023-07-02 Fabrice Le Fessant <[email protected]>

* pplex.l (ppecho, ppecho_direct): replace alt_space by passing a
second equivalent token
* pplex.l, replace.c: move the preprocessing code performing
COPY REPLACING and REPLACE from pplex.l to replace.c

2023-07-04 Simon Sobisch <[email protected]>

* codegen.c (output_char): extracted usage of disabled code for
Expand Down Expand Up @@ -366,18 +363,36 @@

* typeck.c (cb_build_move_field): generate optimized code for
reference-modification with same ref-mod length
* parser.y: fix several possible bad uses of "ALLOCATE identifier",
including "no identifier at all" and use of subscripting / ref-mod
which previously were all silently ignored

2023-03-08 Emilien Lemaire <[email protected]>

* reserved.c (get_user_specified_reserved_word): add check for
context sensitivity in aliases
* parser.y (begin_statement_internal): extracted from begin_statement and
begin_statement_from_backup_pos
* parser.y: explicit creation of "comment note" tokens to store the start
position for tokens used later, either direct for diagnostics or by
assigning it with the new function copy_pos instead of using a global
"backup position" or using the current position
* parser.y: explicit check for missing imperative statements in several
places that need one to generate a clean error
* parser.y (emit_entry): removed unused parameter override_source_line
* typeck.c (cb_emit_call), tree.h, parser.y: remove passing the CALL's
original line number as extra parameter, instead use the statement's
(now correct) position

2023-03-03 Simon Sobisch <[email protected]>

* typeck.c (cb_build_cond_fields): optimize comparison between field and
ZEROES up to COB_ZEROES_ALPHABETIC_BYTE_LENGTH
* pplex.l (ppopen): fixes for auto-detection of reference-format FR #45
handling tabs, dos eol and empty lines correctly
* parser.y (check_non_area_a_of): new function used to do the area check
for all terminators and during error recovery
* parser.y: check area A for END FUNCTION

2023-02-28 Simon Sobisch <[email protected]>

Expand Down
Loading

0 comments on commit acdd486

Please sign in to comment.