
2020-12-23  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_initialize_compound): special handling for OCCURS 1
	
2020-12-21  Simon Sobisch <simonsobisch@gnu.org>

	* field.c, pplex.l, tree.c, typeck.c: fixed warning option querying enum
	  instead of actual value via cb_warn_opt_val
	
2020-12-18  Simon Sobisch <simonsobisch@gnu.org>

	FR #397: add support for JSON GENERATE anonymous JSON objects
	* parser.y: split _name_of to _xml_name_of and _json_name_of, the later
	  one with additional possible NAME ... IS OMITTED and
	  without GENERATE XML checks
	* typeck.c (is_subordinate_to_fields): cob_field based
	  variant of is_subordinate_to
	* typeck.c (syntax_check_ml_gen_name_list): additional parameter is_xml
	  to distinguish between XML and JSON generation (messages, possible rules)
	* typeck.c (syntax_check_ml_gen_name_list): check of NAME ... IS OMITTED
	
2020-12-17  Simon Sobisch <simonsobisch@gnu.org>

	bug #571 revised:
	* typeck.c (create_implicit_assign_dynamic_var): add ASSIGN name as
	  implicit VALUE clause for the implicit variable providing a
	  reasonable (expected) default if not manually set
	* warning.def (implicit-define): changed from "always on" to "only upon
	  request" as the unexpected "inconsistent empty filename" was fixed

2020-12-15  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c [!COB_ALLOW_UNALIGNED]: fixed unused variable warning
	* parser.y (evaluate_body): don't call cb_emit_evaluate if contained
	  statements are skipped (not active USE FOR DEBUGGING), fixing bug #693
	* parser.y: dropped "main_statement" and deactivated unnecessary calls to
	  begin_implicit_statement

2020-12-13  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (propagate_table): reduced codegen for INITIALIZE to a single
	  variant for tables with compile-time known size, removing extra logic

2020-12-11  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_initialize_compound, propagate_table):
	  fix INITIALIZE logic to correctly handle subscripts (bug #694)
	* parser.y: add check for valid ->pic pointer

2020-12-07  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_display_fields): prevent bad integer promotion in
	  libcob (typeck within va_arg) by forcing the unsigned long type for
	  the varargs argument
	* typeck.c (cb_build_generic_register): favor memcpy over strncpy

2020-12-06  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am (cobc_LDADD): fixed ordering, in-tree libraries
	  must be specified first

2020-12-05  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_display_fields): codegen to output INDEXED BY variables

2020-12-03  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (remove_trailing_slash) [_MSC_VER]: new function added to resolve
	  MSVC's issues with trailing slashes

2020-12-02  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppcopy_try_open): removed preprocessor check/define S_ISREG as
	  done in libcob/common.h
	* codegen.c (output_display_fields): changed NULL-checked fields to
	  generate calls to (cob_dump_field) to keep formatting and control there
	  instead of preformatting with use of message-related (cob_dump_output);
	  fixed output for based-check'd OCCURS 01 and comment-only output

2020-12-01  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_dump_code): emit code to check if BASED/LINKAGE fields
	  have a not NULL base address before dumping them; handle depending_on

2020-11-30  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_dump_code): moved out of (output_internal_function)
	* codegen.c (output_dump_code): generate "end of dump" message
	* codegen.c (output_display_fields): always output group OCCURS items,
	  not only the first time; removed duplicated code
	* codegen.c (output_field_display): adjusted variable types to unsigned

2020-11-30  Ron Norman <rjn@inglenet.com>

	* pplex.l (ppcopy_try_open): when searching for COPY book, use 'stat'
	  to verify its a file
	* codegen.c: only emit the 'i_len' variable if it is used

2020-11-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h: moved memory related struct and size from header + define
	  to source + constant
	* error.c (cb_note_x): fixed late return that lead to listing issues and
	  memory leak

2020-11-28  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: fixed bad memory access for cobc -v -version
	* scanner.l: fxied bad memory access for "missing terminator"
	* tree.c, parser.y, field.c: last missing adjustments for cb_warn_opt_val
	* codegen.c, error.c, pplex.l, typeck.c: fixed some minor coding issues

2020-11-27  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_command_line): early processing for -g and optimization
	  flags to allow their "grouped" options to be adjusted by single options
	  later on
	* cobc.c (process_command_line), flag.def: -g now implies the recently
	  added flags -fgen-c-line-directives and -fgen-c-labels
	* codegen.c: output "cob_nop ();" instead of ";" for not-optimized "no op"
	* codegen.c (output_initialize_compound): temporary remove of reference
	  checks not needed any more
	* codegen.c (output_param): removed extra fname

2020-11-25  Simon Sobisch <simonsobisch@gnu.org>

	* error.c, cobc.h, tree.h: diagnostic functions now return cb_warn_val to
	  provide the caller with the information about the type of diagnostic
	  raised (note: can be adjusted with -W /-Wno / -Werror and by "ignored");
	  use of cb_error_node for position tree in some wrapper functions (has no
	  source reference and is therefore always resolved by current line)
	* error.c, tree.h, typeck.c, parser.y: cb_note_x now implies listing
	  suppression, therefore made related functions static instead of exporting
	* error.c, tree.h: cb_word->error now specifies if the word reference
	  produced a warning or error
	* error.c (get_qualified_name): extracted from undefined_error and re-use
	* error.c (undefined_error, ambiguous_error): only raise these errors /
	  warnings once per word, solving FR #313 report undefined identifiers once

2020-11-25  Ron Norman <rjn@inglenet.com>

	* codegen.c: Additional work to enhance INITIALIZE

2020-11-23  Ron Norman <rjn@inglenet.com>

	* codegen.c: Generated code for INITIALIZE enhanced to emit progressive
	  'memcpy' to speed up the process
	  If size is not known until run time then emit call to cob_init_table

2020-11-21  Simon Sobisch <simonsobisch@gnu.org>

	* codgen.c (process_command_line): minor cleanup

2020-11-20  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppinput): fixed processing after "line not terminated"

2020-11-19  Simon Sobisch <simonsobisch@gnu.org>

	FR #53 TURN directive and -fno-ec=NAME/-fec=NAME - finish
	* cobc.c (turn_ec_for_table): correct handling for EC-ALL
	* cobc.c (cobc_turn_ec): handling EC-USER as PENDING
	* cobc.c (process_command_line), cobc.h: handle -debug before all the
	  flags and exception options it sets, allowing to remove its internal
	  explicit_set flag

2020-11-18  Ron Norman <rjn@inglenet.com>

	* codegen.c, typeck.c: Generated code for INITIALIZE computes the actual
	  length for OCCURS DEPENDING on x UNBOUNDED before doing the initialize

2020-11-11  Ron Norman <rjn@inglenet.com>

	* codegen.c: Emit correct code for -debug within C function calls

2020-11-08  Simon Sobisch <simonsobisch@gnu.org>

	FR #390 ref-mod with zero-length
	* config.def, typeck.c (cb_build_identifier): added cb_ref_mod_zero_length
	  to allow reference-modification at compile-time with a length of zero
	* pparse.y, pplex.l, scanner.l, cobc.c: added >> REF-MOD-ZERO-LENGTH and
	  adjusted SSRANGE, now also supporting SSRANGE"1" and SSRANGE"3"

2020-11-04  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_initialize_compound): adjusted OCCURS initialization
	  to only do the initialization (and runtime checks) once and then
	  memcpy to all other occurences
	* tree.c: preparation for all-upper-case names (post 3.1)

2020-11-03  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c, tree.h, cobc.c: added cb_wants_dump_comments variable,
	  set by cobc if COBC_GEN_DUMP_COMMENTS is set
	* codegen.c: depending on cb_wants_dump_comments generate additional
	  dump code *as comment*: REDEFINES and lvl 66/78 fields, fields that
	  should not be dumped and information about field attributes
	* codegen.c (output_display_fields): removed duplicate code,
	  use of output_block_open/output_block_close

2020-11-02  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppcopy_find_file): extracted from (ppcopy)
	* pplex.l (ppcopy): reordered to remove need for goto
	* pplex.l (ppcopy): for COPY copybook-name IN library-name
	  try to resolve library-name via environment COB_COPY_LIB_library-name
	  before testing as-is and additional fallback to "ignore library-name"
	  for compatibility to earlier GnuCOBOL and MF versions
	* pplex.l: don't add extension if already part of the copybook-name,
	  for compatibility: can be disabled by defining COB_MULTI_EXTENSION
	* cobc. (process_env_copy_path): handle empty entry as "." (MF-compat)

2020-10-31  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_initialize_compound): resolve occurs_max only once
	* cobc.c, flag.def: added -fno-dump=<scope>
	* flag.def, cobc.c, cobc.h, help.c: added CB_FLAG_OP for flags
	  with optional parameter

2020-10-26  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, config.c: defaults.h removed
	* cobc.c (cobc_getenv, cobc_getenv_path): return leading space
	  for later error reporting
	* cobc.c: allow omitting the definition for COB_EXPORT_DYN, COB_SHARED_OPT,
	  COB_PIC_FLAGS via config.h (mostly for MSVC)
	* cobc.c (cobc_print_info): extracted common code to cobc_var_and_envvar_print
	  and additionally check environment var for "empty"
	* Makefile.am: pass LOCALEDIR via define

2020-10-17  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_cobol_info): fixed C89 declaration
	* codegen.c: minor optimizations in generating pre-calculated offsets
	  and check for flag_filler instead of strcmp

2020-10-13  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_size): limit variable scope
	* codegen.c (output_initialize_uniform): limit variable scope and
	  calculation in chk_field_variable_size to be only done if used
	* tree.c (cb_name_errmsg): removed and logic merged into new literal handling
	  upon merge of 2020-01-03
	* pplex.l (plex_call_destroy): added cleanup for internal copybook references
	* help.c (cobc_print_usage_warnings): added -w option

2020-10-12  Ron Norman <rjn@inglenet.com>

	* typeck.c: Flag internal variables with 'flag_real_binary'
	* codegen.c: Emit USAGE INDEX and internal binary variables 
	  as COB_TYPE_NUMERIC_COMP5

2020-10-06  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: handling new COB_DEBUG_FLAGS

2020-09-30  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_emit_json_generate, cb_emit_xml_generate): adjusted to allow
	  for new decimal_point param without breaking API from 2018
	* Makefile.am: fixed inclusion of libsupport, now libtoolized
	* cobc.h: include gettext without lib prefix
	* pplex.l: extracted (ppcopy_try_open) from (ppcopy) to split file search
	  from actual processing and removing duplicate code
	* cobc.c: adjusted handling of output file name (especially with COB_DASH),
	  fixing errors in MinGW + CYGWIN
	* cobc.c: use EXIT_SUCCESS and EXIT_FAILURE instead of exit(0/1)

2020-09-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_print_info): adjusted version output for JSON and MPIR
	* typeck.c: adjusted check of defines for JSON

2020-09-27  Bob Dubner <rdubner@symas.com>

	* codegen.c (output_cobol_info): emit doubled backslashes for source file

2020-09-22  James K. Lowden  <jklowden@symas.com>

	* flag.def (intrinsics): remove extraneous newline in output

2020-09-14  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_xref_link), tree.h: changed cb_xref_elem to a dual-linked
	  list allowing to insert elements and read backwards (in most cases the
	  reference numbers increase)
	  and added a counter to cb_xref
	* error.c (cb_add_error_to_listing), cobc.h, cobc.c: changed list_error
	  to a dual-linked list (in most cases the reference numbers increase
	  and we can drop list_error_reverse this way)
	* cobc.c, tree.h: if external reference should be used: define the funtions
	  to a no-op, removing some clutter in the xref functions
	* cobc.c (terminate_str_at_first_trailing_space): insert one string instead
	  of zeroing out the complete memory
	* cobc.c (get_next_listing_line): uses memset for spacing out till end of line
	  instead of iterating over the char array manually
	* typeck.c (cb_emit_open): only add a receiving entry when not OPEN INPUT

2020-09-10  Simon Sobisch <simonsobisch@gnu.org>

	update for compiler diagnostivs including FR 386: show warning flag in use
	
	* cobc.c, cobc.h, error.c, tree.h, typeck.c: change internal representation
	  of warning options from integers to new enum cb_warn_opt which can have
	  a warning value of new enum cb_warn_val instead of defines
	* pplex.l: extended struct copy_info to a double-linked list to preserve
	  correct order for "file was included here" messages
	* pplex.l, error.c (cb_inclusion_note), tree.h: moved warning message output
	  "file was included here" to error.c as "note", with adjusted msgid
	* cobc.c, error.c: moved (cobc_too_many_errors) to error.c and distinguish
	  between -Wfatal-errors (internally -1) and -fmax-errors
	* warning.def (cb_warn_source_after_code), pplex.l (ppinput):
	  moved "source text after program-area" from -Wother to a separate
	  new warning -Wdangling-text, not enabled by default any more
	* warning.def: enable cb_warn_implicit_define and cb_warn_corresponding
	  by default
	* warning.def, errror.c: new option cb_warn_ignored_error instead of
	  "errror (ignored), also allowing to keep the error with
	  -Werror=ignored-error
	* cobc.c, flag.def (cb_diagnostic_show_option), error.c:
	  new option -fdiagnostics-show-option, enabled by default, to print the
	  command line option that is responsible for the reason for the diagnostic

2020-09-08  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppinput): skip last line if it only contains spaces
	* tree.c (literal_for_diagnostic), tree.h, scanner.l: extracted
	  (literal_for_diagnostic) from scanner.l (error_literal), extended and
	  used in tree.c to provide a single function to resolve literals

2020-09-08  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_validate_program_body): verify ANY LENGTH as formal parameter

2020-09-04  Ron Norman <rjn@inglenet.com>

	* codegen.c: emit active runtime checks also in conditions
	  for example reference modification or subscript being out of bounds

2020-09-03  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (read_literal): catch and error  missing termination of literal
	* typeck.c (cb_build_identifier): allow bad subscripts with -frelax-syntax,
	  don't generate odo-check for UNBOUNDED items

2020-09-02  James K. Lowden  <jklowden@fig.schemamania.org>

	* cobc.c, error.c: prevent messages from overflowing message buffer

2020-09-01  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (codegen_init): fixed broken codegen for multi-source compiles
	  introduced when fixing bug #666

2020-08-28  Ron Norman <rjn@inglenet.com>

	* codegen.c: Changes for UNBOUNDED OCCURS
	* typeck.c (cb_emit_move): Changes for UNBOUNDED OCCURS

2020-08-24  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: fixed dump of non-standard 01-OCCURS and LINKAGE

2020-08-17  Simon Sobisch <simonsobisch@gnu.org>

	* config.def, parser.y: added cb_local_implies_recursive to cater for MF's
	  strange extension

2020-08-14  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h (struct cb_file), parser.y: added decription_entry for
	  reference in error messages
	* tree.c (finalize_file), parser.y, error.c (cb_warning_dialect_x):
	  improved syntax checks, now allowing RECORD VARYING also with
	  fixed length FD (as all other known compilers do)

2020-07-14  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h, codegen.c: added dumping of LOCAL-STORAGE,
	  fixed dump of of SD

2020-07-30  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_call): don't setup exceptions for static CALLs
	* help.c: adjusted help output;
	  including fix for bug #670 "multiple listing of -debug"
	* flag.def: removed dummy variables cb_def_dump, cb_def_callfh

2020-07-27  Simon Sobisch <simonsobisch@gnu.org>

	refactored codegen, now using a loop instead of a recursive call
	fixing bug #666
	* codegen.c, cobc.c, tree.h: split (codegen) into
	  (codegen_init, codegen_internal, codegen_finalize);
	  moved more initialization to codegen_init;
	  limit variable scope and use of static variables

2020-07-26  Edward Hart <edward.dan.hart@gmail.com>

	* config.def: added possible values for assign-clause and
	  screen-section-rules

2020-07-21  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, ppparse.y: implemented CHECKNUM/NOCHECKNUM,
	  preparation for SPZERO
	* ppparse.y: improved error handling for broken IF/ELIF
	  directives by consuming as much errors as possible and
	  emitting a "false"

2020-07-19  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c, typeck.c: added support for JSON-C as JSON handler

2020-07-17  Edward Hart <edward.dan.hart@gmail.com>

	fixed bug #663
	* scanner.l: add EQUALS as alias for EQUAL in conditions
	* typeck.c: fixed segfault with parens around condition word

	* config.c, config.def, cobc.h, typeck.c: added dpc-in-data conf option
	* pplex.l, ppparse.y: added corresponding SET DPC-IN-DATA directive

2020-07-09  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (is_reserved_word): fixed division by zero when called
	  before reserved words list has been initialised (bug #659). Thanks
	  to Paul Smith for fix.

2020-07-08  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (scan_x): fixed #658 by building a national literal for nx''

2020-07-07  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_local_field_cache): prevent empty declaration
	  and additional comment after report OCCURS fields

2020-07-07  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c, scanner.l: fixed memory issues.

2020-07-07  Simon Sobisch <simonsobisch@gnu.org>

	FR #53 TURN directive
	* cobc.c (turn_ec_io): fixed case-sensitivity in filename comparison

2020-07-06  Simon Sobisch <simonsobisch@gnu.org>

	FR #359 Realia / OSVS / MSCOBOL compatibility
	* parser.y, cobc.h, reserved.c, tree.c, tree.h: added partial
	  support for EXHIBIT (full parsing, without CHANGED + UPON)

2020-07-05  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, config.def: added vsam-status config option.

2020-07-03  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (file_status_clause): only ignore VSAM status, pending proper
	  config option.
	* typeck.c: implement syntax rules for FILE STATUS (bug #656), with
	  warning for PIC 99 status (FR #333).
	* parser.y (file_control_entry): fixed bug #619: create dummy
	  current_file for invalid SELECT.
	* cobc.c (compare_prepare): fixed bug #569: stop copying into cmp_line
	  when line length exceeds CB_LINE_LENGTH.

2020-06-30  Simon Sobisch <simonsobisch@gnu.org>

	FR #53 TURN directive - finished command line variant as -fno-ec/-fec
	* cobc.c, flag.def, help.c: renamed -fdisable-ec/-fenable-ec
	* cobc.c: removed the need to use EC- prefix in the name for -f[no-]ec
	* flag.def, help.c: fixed some help output

2020-06-30  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: strengthened syntax checks on UNSTRING ... COUNT (bug #653).

2020-06-29  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_internal_function): fix bug #641 FUNCTION RETURNING
	  with variable field size
	* parser.y (_procedure_returning): work around for bug #650
	  disabled PROCEDURE DIVISION USING for normal programs as pending
	* codegen.c (output_call): use a temporary integer for CALL ... RETURNING
	  to not pollute RETURN-CODE in this case, fixing bug #651

2020-06-28  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: include PROGRAMS_LIBS

2020-06-26  Edward Hart <edward.dan.hart@gmail.com>

	FR #53 TURN directive
	* cobc.c, cobc.h, tree.c: completed >>TURN EC-I-O file.
	* cobc.c: fixed line reported in >>TURN syntax errors.
	* pplex.l, ppparse.y: added SET BOUND and SET SSRANGE.

2020-06-26  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: allow more characters in $DISPLAY

2020-06-24  Simon Sobisch <simonsobisch@gnu.org>

	* error.c (redefinition_warning), typeck.c (warning_destination): use
	  appropriate warning flag to allow handling -Werror=... and -Wno-...
	* warning.def (redefinition): clarified help message

2020-06-23  Edward Hart <edward.dan.hart@gmail.com>

	FR #53 TURN directive
	* cobc.c, cobc.h: completed initial implementation on disabling ECs
	  on command line with -fdisable-ec=NAME -fenable-ec=NAME
	* cobc.c, cobc.h, parser.y, ppparse.y, scanner.l: completed initial
	  implementation of >>TURN

2020-06-22  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h, flag.def, ppparse.y: draft work on >>TURN and
	  disabling exceptions (FR #53)

2020-06-22  Simon Sobisch <simonsobisch@gnu.org>

	FR #193 work on TYPE TO / SAME AS, LIKE
	* parser.y (inherit_external_definition): added missing syntax check
	* parser.y (single_reference): don't add entries in typedef to
	  reference_list as those are not accesible outside of it
	* field.c (copy_into_field, copy_into_field_recursive): completely
	  rewritten, now copies single attributes explicit instead of copying the
	  complete source and restore some items later; re-create "local" fields
	  like indices and keys for OCCURS in the target space
	* field.c (copy_into_field): handle VALUE clause on source and target

	* parser.y (occurs_keys): removed unneeded NULL check
	* parser.y (occurs_key_field): only build up field reference once and
	  reuse it for every key definition
	* field.c, tree.h, parser.y (occurs_key_field): new function in field.c:
	  cb_build_full_field_reference, extracted and simplified from parser.y

2020-06-17  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (get_finalized_description_tree): extracted to remove
	  duplicate code (part of it was missing in some old places)
	* typeck.c (cb_build_move): simplified special handling for
	  cb_numeric_pointer
	* typeck.c (cb_emit_move): removed checking of rw-sum-field on nearly
	  every codegen of a move instruction
	* field.c (setup_parameters): early setup of tree category for fields with
	  USAGE DISPLAY as this was broken for at least all unreferenced fields

	FR #193 work on TYPE TO / SAME AS, LIKE
	* tree.c (cb_ref_internal): don't consider items within a typedef as
	  candidate for a reference
	* cobc.c (set_picture): use originating field as USAGE/PICTURE
	* cobc.c (print_fields): skip details in symbol listing for fields that
	  only reference another field

2020-06-16  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (print_fields): minor improvement to the symbol listing:
	  note EXTERNAL, BASED and GLOBAL attributes
	* field.c (pic_digits): changed type from int to unsigned char as it
	  is used for accessing arrays

	FR #193 work on TYPE TO / SAME AS, LIKE
	* parser.y (usage_clause): fixes for USAGE type-name
	* field.c (copy_into_field): first working draft for LIKE-integer,
	  fixes for TYPE TO / USAGE type-name

2020-06-15  Simon Sobisch <simonsobisch@gnu.org>

	FR #382 -Wextra instead of -W
	* warning.def, cobc.c, error.c, field.c, tree.c, typeck.c, parser.y:
	  renamed cb_warn_extra to cb_warn_additional
	* warning.def, help.c: define -Wextra with fallback -W
	* cobc.c: implement -Wno-error[=warning]

	* cobc.c (process_run): use of new COBC_NAME + COBCRUN_NAME now defined in
	  defaults.h, if available use the fullname of the current process instead
	  of fixed "cobc" to get the path for cobcrun, extract some code to
	  resolve_name_from_cobc

2020-06-14  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_run): instead of hard-wired call of
	  "cobcrun + COB_EXE_EXT" resolve its name by environment COBCRUN or,
	  in case it isn't set, by cobc's fullpath with replacing cobc->cobcrun,
	  fixing bug #573
	* cobc.c (main, process_run): fix compile from stdin with job-run
	* field.c (validate_any_length_item): allow ANY LENGTH for PIC 1

2020-06-12  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_command_line) [_WIN32]: simplified code;
	  only convert from /opt to -opt if POSIXLY_CORRECT is not set;
	  added conversion from /? to --help

2020-06-10  Simon Sobisch <simonsobisch@gnu.org>

	Bug #635 added checks for duplicate USING BY REFERENCE items
	* parser.y (emit_entry), typeck.c (cb_emit_call): collect BY REFERENCE
	  items and check for duplicates

	FR #193 work on TYPE TO / SAME AS, LIKE
	* field.c (copy_into_field), tree.h: split out to static functions;
	  include specified VALUE clause from definition
	* parser.y, reserved.c, tree.h: added parsing for LIKE clause as pending

	* cobc.c: don't do pointer arithemetic on string constant (fixing Bug #644
	  warning on MacOS)

2020-06-09  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (call_system, output_return): new functions extracted from
	  different places to have the nearly identical calls to system and the
	  code handling verbosity and exit codes in one place
	* cobc.c (call_system): don't raise SIGINT/SIGQUIT because of sub-process
	* cobc.c (get_signal_name): copied from libcob/common.c

2020-05-26  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_local_field_cache): use output_emit_field
	  for REPORT field

2020-05-15  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: TYPEDEF is allowed with level 77
	* field.c: attributes of OCCURS copied in TYPE TO entries

2020-05-11  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, field.c, tree.h, config.def, reserved.c, cobc.h:
	  FR #193 implementation of TYPEDEF, TYPE TO and USAGE type-name,
	  fixed some issues with SAME AS
	* tree.c (cb_ref_internal): limit scope of some variables

2020-05-10  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, config.c, pplex.l, scanner.l: silenced char-subscript warnings
	  by casts to unsigned char

2020-04-28  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_file_initialization): don't output key offset
	  if it is part of a component; even if this has only a single part
	  as components are not part of the record "KEYNAM = RECORD-FIELD"

2020-04-23  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: added ACCEPT with CURSOR parsing

2020-04-03  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c, tree.h: new field attribute flag_internal_register
	* config.def, field.c, typeck.c: experimental numeric-pointer option
	  (cb_numeric_pointer) to handle ACU's special POINTER handling

2020-04-01  Simon Sobisch <simonsobisch@gnu.org>

	* warning.def, cobc.h, cobc.c, error.c, field.c, typeck.c, parser.y:
	  new warning option -Wextra, replacing previous warningopt, allowing to
	  disable them or have them as error and fixing the previous behaviour
	  where -W effectively set them to be handled as error
	* parser.y: removed some duplicate warnings and always raise PENDING,
	  not only in case of -W/-Wall
	* tree.h, tree.c, error.c (cb_warning_dialect_x): new function,
	  possibly to be replaced later
	* reerved.c: added COBOL 202x FUNCTION CONCAT
	* tree.c (get_category_from_arguments): new function;
	  added missing implementation of "type of function depends on arguments"
	  and "check that arguments are of a matching type"
	* tree.c, parser.y: changed "FUNCTION parameter" to "FUNCTION argument"
	* typeck.c: FR #222 numeric checks for CRT STATUS (may be >= 4 digits)

2020-03-31  Simon Sobisch <simonsobisch@gnu.org>

	* field.c.y (cb_validate_78_item): full validation and resolving
	  of level 78 value, even when not supported
	* typeck.c (cb_validate_program_data): skip lvl 66 entries in odo-check
	* parser.y, field.c: moved function (error_if_invalid_level_for_renames)
	  to field.c
	* field.c (cb_validate_renames_item): reordered checks
	* field.c (cb_validate_renames_item), tree.h: cb_validate_program_data
	* typeck.c (cb_build_length): workaround for bug #623 RENAMES with length 0
	* parser.y (renames_entry): extended syntax checks for RENAMES
	* parser.y (special_names_clause), config.def (cb_special_names_clause):
	  FR #222 implemented SPECIAL-NAMES clause (variable-local definition)

2020-03-27  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (check_preceding_tallying_phrases): allow consecutives
	  CHARACTERS keywords (revival of bug #47).

2020-03-22  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (call_body): warn ON EXCEPTION for CALL STATIC and ignore
	  it instead of having them mutually exclusive
	* codegen.c (increase_output_line): fixed declaration of inline

2020-03-11  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: honor new conditional MAKE_HAS_PREREQ_ONLY
	* Makefile.am: adjusted invocation of help2man, using new defines
	  HELPSOURCES and HELP2MAN_OPTS

2020-03-09  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: FR #372 honor HAVE_GMP_H and HAVE_MPIR_H

2020-03-01  Brian Tiffin <btiffin@gnu.org>

	* cobc.c: bug #618, fix -j mode with -o name that includes a directory
	  and when multiple inputs are involved in a compile pass

2020-02-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h: added check for COB_UNIX_LF again

2020-01-11  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_module_init): split module initialization into
	  calling of new generated function which includes every static reference
	  and the "local" part that references program-local variables,
	  fixing #611 RECURSIVE programs without correct source references
	* codegen.c (output_function_prototypes, output_internal_function):
	  generate module initialization function and invoke it

2020-01-04  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.h, parser.y, tree.h, typeck.c: strengthened ASSIGN syntax checks
	  (bug #553).
	* config.def: added new options assign-variable, assign-using-variable,
	  assign-ext-dyn and assign-disk-from.
	* config.def: improved assign-clause help.

2020-01-03  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_name_errmsg), tree.h, typeck.c (cb_emit_move): new function
	  for better error messages
	* tree.c (cb_field_size), tree.h, field.c, typeck.c: use new define
	  FIELD_SIZE_UNKNOWN instead of -1
	* typeck.c (validate_move): skip truncation warnings if target and/or
	  source sizes are unknown
	* codegen.c, tree.h: replacing old conflicting constant prefix s_
	  by new CB_PREFIX_SCR_FIELD
	* codegen.c: partially limited variable scope
	* tree.c (cb_tree_category), tree.h: guard cb_category by CB_CATEGORY_ERROR
	* error.c (print_error): used fixed COB_SMALL_BUFF instead of
	  unrelated system-specific BUFSIZ

2020-01-01  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, field.c (copy_into_field), tree.h, config.def:
	  FR #193 implementation of SAME AS
	* cobc.c: Copyright year update

2019-12-28  Edward Hart <edward.dan.hart@gmail.com>

	* config.c, config.def, ppparse.y, pplex.l: added ASSIGN directive and new option
	  implict-assign-dynamic-var (see bug #571).
	* config.c: added options external (= ibm) and dynamic (= mf) to
	  assign-clause.
	* typeck.c (cb_build_assignment_name): refactored.

2019-12-23  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (sort_body): fixed class cast errors,
	  actually use the specified order if no data-name was specified

2019-12-15  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: #543 check for condition-name in ADDRESS OF

2019-12-03  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: minor refactoring - use of set_current_field to remove
	  duplicated code, limit scope of some variables
	* parser.y: new identifier_field (checked field-identifier),
	  adjustment of some msgIds (obviously not part of any test before)

2019-11-18  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_key_components): extracted
	  from (output_file_initialization)
	* codegen.c (perform_label): minor refactoring
	* codgenc.c: call output_storage instead of output where the result is
	  fixed to be in the header
	* tree.h, parser.y: added flag_entry_for_goto to cb_field

2019-11-17  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_header): use current output target instead of
	  file pointer
	* codegen.c (output_indent): replaced by new functions
	  (output_block_open, output_block_close)
	* codegen.c: count lines in generated source file in output_line_number,
	  to do so adjust many calls to use the "correct" output function and never
	  include a newline within the output string
	* codegen.c (codegen), tree.h, cobc.c: adjust function to get generated
	  sourcefile name, keep static reference to it in "output_name"
	* flag.def, cobc.c: added flags for adjusted C source generation
	  -fgen-c-line-directives and -fgen-c-labels
	* codegen.c (output_cobol_info, output_c_info): added

2019-10-27  Ron Norman <rjn@inglenet.com>

	* tree.c: correct computing size of REPORT lines and fields

2019-10-25  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (cb_name_1): prevent buffer overflows (bug #586)
	* parser.y (end_scope_of_program_name): free correct program when a
	  nested program has the same name as a containing program (bug #587)
	* codegen.c, parser.y: fixed minor memory leaks

2019-10-17  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (valid_screen_pos): inlining some macro-like functions back
	* typeck.c (cb_validate_crt_status, valid_screen_pos): more validation

2019-09-30  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, reserved.c: added more (D)OS/VS and ACUCOBOL APPLY phrases.

2019-09-29  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, reserved.c: added detection of OS/VS-era I/O extensions.
	* parser.y: added ASSIGN VARYING variant of ASSIGN USING.
	* reserved.c (lookup_reserved_word): allow SELECT and I-O-CONTROL to
	  have multiple context-sensitive words occur in one sentence.
	* config.def: clarified -fline-col-zero-default.

2019-09-28  Ron Norman <rjn@inglenet.com>

	* typeck.c: If MOVE "literal" is all SPACES then process as
	  cb_space so MOVE SPACE & MOVE "   " are identical

2019-09-23  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: moved alignment defines from libcob/common.h here
	* cobc.h: moved alignment exception for hpux from libcob/common.h here
	* codeoptim.c, cobc.h: generate the actual requested code w/o the attribute
	  __unaligned instead of overriding the attribute in the header
	* tree.h: removed duplicate redefinition of atol/atoll

2019-09-22  Ron Norman <rjn@inglenet.com>

	* codegen.c, field.c: Corrections to handling of COLUMN  (was off by +1);
	  With OCCURS COLUMN + num is no longer an alternative for STEP
	* flag.def: increased max-errors default to 128

2019-09-15  Ron Norman <rjn@inglenet.com>

	* cobc.h: For HPUX set COB_ALLOW_UNALIGNED as undefined
	* typeck.c: Emit ADD/SUBTRACT shortcut for COMP-5 only 
	            if COB_ALLOW_UNALIGNED defined
	* tree.h: Revert 'lock_mode' back to an 'int'
	* codegen.c: Changes for 'lock_mode' being an 'int'
	* cobc.h: Add COB_MEM_SIZE as size of cob_mem_struct rounded up to
	          multiple of sizeof(long long)
	* cobc.c: Use COB_MEM_SIZE as size of cob_mem_struct
	          To avoid aborts on system that requires aligned data

2019-09-12  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, parser.y: allow LENGTH *OF* to remove the ambiguity for
	  REPOSITORY. FUNCTION LENGTH INTRINSIC. and register LENGTH OF

2019-09-09  Ron Norman <rjn@inglenet.com>

	* cobc.h: Add defines for COB_ALIGN_8 to set 8 byte boundary alignment

2019-09-04  Ron Norman <rjn@inglenet.com>

	* codegen.c: set temp-field.data after all declarations to avoid problems
	  with C89 compilers

2019-09-03  Ron Norman <rjn@inglenet.com>

	* tree.h: Add checks for C compiler presence of __FUNCTION__
	* typeck.c: Fix some #if to include missing conditions

2019-08-25  Simon Sobisch <simonsobisch@gnu.org>

	* common.h: allow to force aligned pointer access by external
	  define of COB_NON_ALIGNED

2019-08-17  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_encode_program_id), parser.y, codegen.c, cobc.c: changed
	  method signature to remove unnecessary check for path separators and
	  do case folding as requested - callers use explicit COB_FOLD_UPPER for
	  functions now instead of additional folding after the call, also lead
	  to removing (user_func_upper) from codegen.c
	* typeck.c (cb_encode_program_id): check for path separators now backwards
	* typeck.c: removed duplicated code for program-id encoding
	  using libcob's new cob_encode_program_id with explicit check
	  for buffer size fixing bug #584
	* scanner.l (read_literal): fixed bug #583 buffer overflow
	* cobc.c: PROGRAM-ID verification with explicit check for empty PROGRAM-ID
	  and cut of PROGRAM-IDs that are too long in the error message
	* config.def (cb_lit_length): changed internal maximum length of a literal
	  from LONG_MAX to COB_MAX_LITERAL_LEN, a new define with currently 256k
	* cobc.c (cobc_deciph_optarg): explicit check for integer overflow and
	  return INT_MAX in this case

2019-08-14  Simon Sobisch <simonsobisch@gnu.org>

	* field.c, parser.y: verification of cb_synchronized_clause moved, only
	  set f->flag_synchronized if actually active
	* cobc.h, config.def: moved defines all CB_CONFIG_ANY entries to to new
	  enums: cb_binary_size_options, cb_binary_byteorder_options,
	  cb_assign_clause_options; used these instead of unsigned int
	* field.c (compute_binary_size): switch over cb_binary_size
	* typeck.c (cb_build_assignment_name): switch over cb_assign_clause

2019-08-12  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (scan_floating_numeric): fixed stack_overflow_buffer
	  reported by AddressSanitizer
	* reserved.c: TOP as mnemonic CB_FEATURE_FORMFEED
	* parser.y: added top_clause as we won't be able to define the mnemonic
	  as it duplicates a reserved word (FIXME: general adjustment needed)

2019-08-11  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, config.def: added support for HP COBOL octal literals
	  unfinished as its type should be context-sensitive (so far chosen
	  by scanner.l), configured by dialect configuration hp-octal-literals
	* flag.def, cobc.c, help.c: moved -f[no-]ibmcomp out of flags.def and
	  activated the "non-flag" as "normal option"

2019-08-01  Ron Norman <rjn@inglenet.com>

	* field.c: bug #582 add bounds check on expression stack and report error

2019-07-14  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (special_name_list): better error recovery (at least as long
	  as one valid SPECIAL-NAMES entry was found)

2019-07-13  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (emit_entry_goto, entry_name_list, entry_name),
	  typeck.c (cb_emit_goto_entry), config.def, tree.h,
	  codegen.c (output_goto, output_goto_entry): added extension
	  GO TO ENTRY / ENTRY FOR GO TO, intended mainly for generated code;
	  guarded by compiler configuration "goto-entry", defaults to warning

2019-06-29  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppinput): check for conflict markers (similar to GCC)

2019-06-28  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppcopy): ensure to have original errno, not the one from
	  one of the files in search path
	* pplex.l (ppcopy) [_WIN32]: fixed EINVAL for path argument access doesn't
	  allow mixed slashes or anything before a partition identifier
	* parser.y: extracted program_init_without_program_id
	* parser.y: moved _options_paragraph references into _program_body

2019-06-23  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, codegen.c, pplex.l, ppparse.y, reserved.c, scanner.l, tree.c,
	  typeck.c: fixed possible arithmetic overflow

2019-06-08  Simon Sobisch <simonsobisch@gnu.org>

	* config.def, parser.y: removed compiler support options cb_json_generate
	  and cb_xml_generate, as soon as those words are reserved we take those
	  statements as supported

2019-06-07  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (get_prev_ml_tree_entry): fixed null-pointer access with code
	  similar to use in other places
	* tree.c, tree.h: added struct cb_next_elem to be used for any structure
	  that has a next pointer as first entry, to be used by (cb_next_length)
	  to get the size of the complete entry (only reasonable to call with the
	  "main" entry normally attached to a program)
	* typeck.c (cb_validate_program_data): set alphabet->custom_list to error
	  node once seen as bad, partially limited variable scope
	* tree.c (validate_file): explicit check for number of keys (limited
	  to MAX_FILE_KEYS, currently 255, per file)

2019-06-06  Simon Sobisch <simonsobisch@gnu.org>

	* help.c: new file, extracted from cobc.c to limit the generation of docs
	  to actual changes in the help output; also separated help parts into one
	  function per help section
	* Makefile.am, cobc.c, cobc.h: adjustments for help.c

2019-06-02  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_get_int): return 0 for cb_error_node not raise errors
	  on fields that got an error raised before
	* parser.y: removed duplicate parts for integer handling,
	  disabled the non-standard "COL/LINE +1/-1" variant (which is not supported
	  by any known COBOL dialect, must be "COL/LINE + 1 / - 1")
	* parser.y (set_record_size): extracted from (record_clause) variants
	* config.def: added records-mismatch-record-clause
	* parser.y (set_record_size), tree.c (finalize_file): handle record sizes
	  that don't match the record clause (auto-adjust file min/max) via
	  records-mismatch-record-clause as it is effectively a comment for IBM

2019-05-31  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (restore_backup_pos): extracted for common use
	* parser.y (evaluate_when_list), typeck.c (build_evaluate): assign and
	  use position of the WHEN clause for better error handling
	* flag.def: don't suppress static call flags in help

2019-05-30  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c, tree.h, config.def: FR #311 added Fujitsu
	  specification of call convention by WITH ... LINKAGE,
	  added the two new c/s words PASCAL and C to the additional
	  implementor defined call-convention;
	  added configuration options for both extensions for specifying the
	  call-convention

2019-05-20  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: setting of YFLAGS by configure instead of fixed AM_YFLAGS

2019-04-28  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (line_keyword_clause): added missing RW line syntax variants
	* parser.y (_acu_size): initial parsing for size specification on pointers

2019-04-15  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: removed superfluous inline prototypes for cb_ref/cb_try_ref

2019-04-07  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am (COBC): use pre-inst-env ensuring to use the built version
	* parser.y, typeck.c, tree.h, config.def: FR #354 added CONTINUE AFTER
	  to suspend runtime execution
	* parser.y (begin_statement_from_backup_pos): new function used for postponed
	  statement start

2019-03-26  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c, tree.h: added cb_int7, cb_int8, cb_int16
	* parser.y: replaced cb_int(0,4,8,16) by pre-created cb_int0-cb_int16
	* typeck.c (cb_emit_open): replaced comparison of cached cb_int to compare
	  the actual integer value
	* tree.c (cb_int): minimized struct int_node and access providing minimal
	  speed for integer lookup and minimal less memory consumption
	* tree.c (cb_int_hex): fixed to not adjust hex-attribute of cached integers
	  by using a different cache
	* codgen.c, tree.c, tree.h: deactivated hex-attribute of CB_INTEGER for now
	  (marked with USE_INT_HEX) as this increases the struct and we *should*
	  pass the flags as constants in any case
	* tree.c (cb_int, cb_int_hex): disabled caching of integer values (other
	  than 0-8) for now (test, reactivate by defining CACHED_INTEGERS=1) as the
	  necessary lookup can take much time with many different integer values

2019-03-25  Simon Sobisch <simonsobisch@gnu.org>

	* field.c (cb_is_expr, cb_evaluate_expr, create_implicit_picture): fixed
	  check of literal type before accessing values as literals in some places
	* cobc.c (cobc_print_info): output endianess and native EBCDIC

2019-03-24  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_bin_field) [__SUNPRO_C]: split generated initialization
	  of the field into two statements as some compilers don't allow an
	  assignment of a local field there - after Ron Norman 2015

2019-03-23  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (decimal_compute), tree.h: track if cob_decimal computations
	  will be used with new flag_decimal_comp
	* codegen.c (output_standard_includes): additional include gmp.h when
	  cob_decimal is used in one of the generated (sub-)programs
	* codegen.c (output_standard_includes): don't include currently unused
	  stdlib.h, stddef.h, math.h
	* typeck.c (cb_resolve_debug_refs): fixed bug #570 invalid tree cast for
	  CD-entries with debug reference
	* tree.c (cb_name_1), cobc.c (cobc_enum_explain): cater for CB_TAG_CD

2019-03-19  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: use of COB_MAX_NAMELEN
	* cobc.h: comment-explanation for cb_flag_main / cobc_flag_main

2019-03-18  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, config.def: FR #352 added national-character-literals setting
	  and read of NC"" literals (identical to N"" literals)

2019-03-17  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: improved error handling for wrong PICTURE clause,
	  including a new warning for uncommon parentheses and
	  only error once for same invalid character
	* tree.c, tree.h, scanner.l, typeck.c, codegen.c, cobc.c: added compiler
	  part for floating-point numeric-edited item (libcob open)
	* parser.y: added parsing for PICTURE clause locale-format

2019-03-16  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: added unqualified_word which consumes qualification
	  checking that it does not occur; used for INDEXED BY and OCCURS KEY
	* parser.y, tree.h, reserved.c, typeck.c: added parsing for
	  LOCALE/NATIONAL ALPHABET, NATIONAL COLLATING SEQUENCE and
	  COLLATING SEQUENCE OF key

2019-03-15  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: drop yacc-compatibility warnings via AM_YFLAGS -Wno-yacc
	  as only bison is supported in any case

2019-03-14  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: hand-merged change 2015-04-27 with an option to go back,
	  see COBC_STORES_CONFIG_VALUES

2019-03-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck: implemented table SORT without specifying key,
	  see Patch #42

2019-03-11  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_print_info): changed msgid for "file handler" and
	  already output if RTD-version of VB-ISAM is used (even if this
	  wouldn't work currently), partially after Ron Norman

2019-03-10  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added RAISE statement as PENDING
	* parser.y: work on pending USE ON exception-name
	* parser.y, reserved.c, cobc.h, tree.h, typeck.c: added APPLY COMMIT clause
	  from 202x draft as PENDING (making I-O-CONTROL mandatory for its clauses)
	* typeck.c (cb_check_overlapping): do only the check, logic and messages
	  moved to (validate_move)
	* parser.y: minor refactoring

2019-03-09  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: fixed freeing LOCAL-STORAGE memory using the wrong "free"
	* codegen.c (output_function_prototypes): use expected declaration
	  for EXTFH modules to possibly catch modules using different interface

2019-02-17  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: renamed build_nested_special -> build_words_for_nested_programs
	* parser.y: fixed bug #566 nested programs do not inherit class-names

2019-02-16  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c: fixed bug #567 missing error recovery in conditions

2019-02-09  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, tree.h, reserved.c: moved translation "word to system name" from
	  parser.y (mnemonic_name_clause) to reserved.c (get_system_name_translated)
	* tree.c (cb_list_map), tree.h: directly check for error node,
	  return 1 if found
	* typeck.c (cb_check_numeric_name, cb_check_numeric_edited_name): always
	  check for error node outside these functions, minor refactoring

2019-02-05  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, tree.h, tree.c: splitted cb_category_is_national from
	  cb_category_is_alphanumeric

2019-01-29  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h, reserved.c, typeck.c: added SYSPUNCH/SYSPCH as CB_DEVICE_SYSPCH
	* reserved.c: added S01-S05, currently internally as CB_FEATURE_FORMFEED
	* typeck.c (cb_build_display_name): don't warn about
	  ACCEPT FROM / DISPLAY UPON device-name in IBM/MVS/MF mode

2019-01-27  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, reserved.c: fixed compiler warnings

2019-01-20  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_print_info): added note for cJSON

2019-01-05  Edward Hart <edward.dan.hart@gmail.com>

	* general: added JSON GENERATE statement
	* parser.y: added detection of JSON PARSE statement

2019-01-04  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_abort): increase error counter
	* error.c, cobc.h (cb_add_error_to_listing): extracted from (print_error)
	  and extended to display source reference if error message is not cached
	* cobc.c (cobc_err_msg, cobc_abort_terminate): include error message
	  in listing, if active
	* cobc.c (print_program_trailer): prevent printing of NULL file / prefix
	  and respect cb_msg_style
	* field.c (create_implicit_picture): fixed to not raise an abort for
	  FROM figurative-constant without PICTURE

2019-01-04  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (get_reserved_words_with_amendments): if a user reserves a
	  default reserved word, context-sensitivity is now preserved only if
	  they specify it
	* reserved.c (default_reserved_words): fixed context-sensitive words
	  marked as not context-sensitive

2019-01-02  Ron Norman <rjn@inglenet.com>

	* field.c: Check for duplicate LINE in REPORT and ignore it
	* codegen.c: Skip initialize to SPACES for REPORT lines as
	  all lines are cleared to SPACES

2019-01-02  Simon Sobisch <simonsobisch@gnu.org>

	* field.c (set_report_field): renamed to (set_report_field_offset)
	* field.c: refactored static functions and their calls to reduce
	  the number of calls and limited the scope of variables

2018-12-31  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c, tree.h, codegen.c, cobc.h: use EXTFH call per program,
	  not globally
	* pplex.l, ppparse.y, scanner.l, codegen.c: implement CALLFH
	  directive (Micro Focus)
	* reserved.c: fixed redefinition warning
	* scanner.l (#LINE): removed unneeded temporary string duplication
	* scanner.l (scan_x): minor refactoring and fixing compiler warning
	* parser.y, reserved.c: added parsing for ADDRESS OF FH--FCD /
	  FH--KEYDEF OF file-name (context-sensitive to SET)

2018-12-29  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (validate_inspect): moved duplicate ref-mod size calculation to
	  (calc_reference_size) and fixed it to never skip the specified length

2018-12-29  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: replaced the array reserved_words and the list
	  amendment_list with hashmaps (see FR #295).

2018-12-28  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c: fixed heap overflow by using strncmp instead of memcmp
	* parser.y (split_key): fixed memory leak

2018-12-28  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fixed bug #564 by allowing INSPECT CONVERTING FROM/TO
	  alphabet names and removed functions from the possible list

2018-12-04  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: finishing FR #244 missing-statement by allowing
	  WHEN expression  with missing imperative statement (= directly
	  followed by END-EVALUATE or a separator period)

2018-11-26  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: fix listing issues when source is suppressed like printed
	  headers without data and missing output of errors
	* flag.def: renamed new listing options according to NEWS and docs
	* parser.y: msgid change "runtime elements" instead of unclear "sources"

2018-11-25  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_tree_category): correct category for reference-modified
	  NATIONAL/NATIONAL-EDITED items

2018-11-22  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, pparse.y: FR #344 Support copybook and library names
	  as text-names (not literals) with periods, always upper-cased
	  if not requested otherwise by FOLD-CALL=LOWER

2018-10-28  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c [__ORANGEC__]: adjustments of command line options

2018-10-24  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: minor refactoring (creating ppecho_direct) and comments

2018-10-15  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c (cb_list_registers): output "ADRESS OF" as "phrase"

2018-10-13  Edward Hart <edward.dan.hart@gmail.com>

	* field.c (create_implicit_picture): handle case where f->screen_from or
	  f->screen_to are error nodes.
	* parser.y (screen_description): prevent double free of level-number
	  field in error handling.
	* parser.y (perform_body): fixed internal error with empty PERFORM.

2018-10-12  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: fixed TITLE being consumed as statement when actually starting
	  a user defined word

2018-10-08  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: warn about unimplemented OPEN REVERSED / WITH NO REWIND,
	  see FR #343
	* parser.y: RM/COBOL compatibility - allow LOCK clause on
	  OPEN REVERSED / WITH NO REWIND

2018-10-02  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_validate_program_environment, cb_validate_program_data,
	  cb_validate_program_body): only use the specified parameter
	  cb_program prog instead of current_program
	* typeck.c (cb_validate_program_body): splitted cb_validate_labels()
	  and cb_resolve_debug_refs() to own functions
	* typeck.v (cb_resolve_debug_refs): added size handling for cd-names
	* parser.y (debugging_target), typeck.c (cb_resolve_debug_refs):
	  added check for duplicate reference of items in DEBUGGING procedures;
	  allow subscripts/refmod during parse to provide a clean check later

2018-09-28  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: ACCEPT x FROM ESCAPE _key
	* parser.y, reserved.c: extended parsing for ACUCOBOL-GT
	  DISPLAY WINDOW

2018-09-27  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added ACUCOBOL-GT statements
	  ACCEPT FROM TERMINAL-INFO / SYSTEM-INFO as PENDING
	* parser.y: added parsing for explicit "NO" BELL

2018-09-23  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (validate_indexed_key_field): added missing checked for
	  valid keys in files with split keys
	* parser.y, tree.h, typeck.c: added NATIONAL COLLATING SEQUENCE
	  as PENDING
	* cobc.h (CB_CS_OPEN), reserved.c: new context-sensitivity for OPEN
	* parser.y: added extension duplicate clause on primary key as PENDING
	  and extension WITH NO DUPLICATES

2018-09-22  Simon Sobisch <simonsobisch@gnu.org>

	* field.c (cb_validate_field): deactivated questionable incrementing
	  if reference-counter for GLOBAL fields

2018-09-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (file_description_entry): unset current_file on error;
	  check for duplicate file description
	* tree.c (finalize_file): check for missing file description
	* tree.c (finalize_report): early set of flag_report
	* typeck.c (warning_destination): added missing check for tree tag
	* typeck.c (move_warning): allow literals in all contexts other
	  than SET to be used as source reference
	* typeck.c (error_if_invalid_file_from_clause_literal):
	  allow [RE]WRITE FILE FROM constant / numeric literal if
	  cb_relaxed_syntax_checks is set as MicroFocus/ACUCOBOL allow this
	  non-standard option; only raise either figurative or literal error

2018-09-11  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (evaluate_other): partial implementation of FR #288
	  WHEN OTHER without imperative statement
	* codegen.c (output_stmt): disabled lookup_source calls that seem
	  to be not needed
	* parser.y (perform_body): partial implementation of FR #288
	  check inline PERFORM without imperative statement against
	  configuration "missing-statement"
	* cobc.c (process_command_line): make sure cb_missing_statement
	  is not stricter than CB_WARNING when cb_relaxed_syntax_checks is active
	* scanner.l (copy_literal): check that passed argument is a literal

2018-09-11  Ron Norman <rjn@inglenet.com>

	* tree.c, codegen.c: added checks for cb_flag_remove_unreachable
	* scanner.l: duplicate 78/CONSTANT and then assign line number
	* tree.c: improved warnings to be more inclusive

2018-09-10  Ron Norman <rjn@inglenet.com>

	* tree.c: removed redundant warnings about xyz 'is always' TRUE/FALSE
	* flag.def: new compile option: 'remove-unreachable' defaults to on
	      So then -fno-remove-unreachable does not remove unreachable code
	* typeck.c: checks cb_flag_remove_unreachable
	* cobc.c: if -g then clear cb_flag_remove_unreachable

2018-09-06  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (validate_move): always check full length for VALUE
	  without trimming the literal if alphanumeric

2018-09-01  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_module_register_init): partially fix bug #548:
	  used previous reference creation for XML registers

2018-08-24  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_cond): keep source-reference for trace/position
	  code generation and compiler messages
	* typeck.c (build_evaluate): store source-reference for WHEN OTHER
	* tree.c (copy_file_line): disabled save/restore source-reference
	  of expressions as the current code works identical without it
	* codegen.c (output_stmt): use source-reference of expression for
	  WHEN / WHEN OTHER, output its location to return correct position
	  for runtime messages and tracing

2018-08-21  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: implemented MS-COBOL position-specifier for DISPLAY/ACCEPT
	  and DISPLAY ERASE
	* parser.y, reserved.c: added COMP-0 as PENDING
	* typeck.c: set reference for CRT-STATUS field on ACCEPT/DISPLAY
	  for cross-reference in listing

2018-08-19  Edward Hart <edward.dan.hart@gmail.com>

	* general: added XML GENERATE statement.
	* parser.y: added detection of XML PARSE statement.

2018-08-17  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: added COL/LIN registers (default to disabled)
	* typeck.c, parser.y, cobc.h, tree.c, tree.h, field.c: first approach
	  on generic register creation (currently works only for TALLY/COL/LIN)

2018-08-09  Simon Sobisch <simonsobisch@gnu.org>

	FR #219 Support for COMP-N (ACU compatibility)
	* parser.y, reserved.c: added COMP-N/COMPUTATIONAL-N
	* tree.h (cb_usage): new CB_USAGE_COMP_N
	* cobc.c, codegen.c, field.c, tree.c, typeck.c: identical handling
	  for CB_USAGE_COMP_N as CB_USAGE_COMP_X
	* field.c (setup_parameters): always use portable big-endian format
	  for CB_USAGE_COMP_N

2018-08-07  Brian Tiffin <btiffin@gnu.org>

	* parser.y, reserved.c, tree.c, tree.h: CONTENTS-OF renamed to
	  CONTENT-OF

2018-08-07  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_identifier): added missing validation for
	  depending item, fixing bug #544
	* typeck.c (cb_emit_arithmetic): early check for valid field,
	  provides better message for condition-names FR #339 and reduces
	  the number of errors in numeric checks to the first invalid part
	  of the statement
	* typeck.c (cb_validate_one), parser.y (check_not_88_level):
	  FR #339 msgid change for invalid references
	* typeck.c (cb_emit_string): added missing validation of delimiter
	  and source items, fixing bug #543
	* parser.y (check_not_88_level): invalidate wrong items to prevent
	  multiple errors for same field

2018-07-19  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: allow floating-point literals containing no digit after
	  decimal point in significand (explicit specified in ACUCOBOL docs)
	* reserved.c, parser.y, field.c, tree.h: added parsing for VOLATILE clause
	* typeck.c (cb_build_expr): use correct line number for warning
	  "suggest parentheses around AND within OR"

2018-07-18  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: adjusted length_of handling to distinguish constant-entry
	  from register

2018-07-18  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: added checks for (RE)WRITE FILE f FROM literal (bug #411)
	* parser.y (file_control_entry): fixed regression caused when fixing
	  bug #405

2018-07-13  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c, parser.y: added IBM's ALLOCATE format by including the
	  ignored LOC phrase

2018-07-05  Ron Norman <rjn@inglenet.com>

	* parser.y, scanner.l: removed LENGTH_OF as it is no longer used

2018-07-04  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (cb_build_picture): fixed calculation of number of decimal
	  digits in PICs with floating +/- after decimal point, e.g. --.--.
	  See bug #220

2018-07-04  Ron Norman <rjn@inglenet.com>

	* parser.y: accept both LENGTH and LENGTH OF in all places

2018-07-03  Simon Sobisch <simonsobisch@gnu.org>

	* codeoptim.c: removed inclusion of defaults.h (no definitions used)

2018-06-29  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_internal_function): fixed bug #98 "SIGSEGV
	  on CANCEL of RECURSIVE programs" by adjusting generation of
	  CANCEL callback

2018-06-28  Ron Norman <rjn@inglenet.com>

	* typeck.c (cb_build_expr): fix bug #526 - Check for properly formed
	  'Abbreviated conditional expressions'

2018-06-26  Simon Sobisch <simonsobisch@gnu.org>

	* field.c (validate_usage): fixed SIGSEGV when PICTURE is missing
	* field.c: renamed (check_picture_item) to (create_implicit_picture)
	  and always define an implicit picture (even for fields with errors
	  because of their references)
	* field.c: renamed (check_picture_item, is_numeric_usage): define
	  numeric implicit pictures for numeric USAGEs

2018-06-24  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_emit_call): use X"nn" as name for error messages
	  concerning system library CALLs

2018-06-21  Brian Tiffin <btiffin@gnu.org>

	* parser.y, reserved.c, tree.c, tree.h: added intrinsic functions
	  CONTENT-LENGTH and CONTENTS-OF

2018-06-20  Ron Norman <rjn@inglenet.com>

	* codgen.c: emit code for 'Default Error Handler' in nested
	  subroutines when the main module has GLOBAL files, fixing bug #87

2018-06-06  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added POS (only reserved for acu and default)
	  as alternative for AT POSITION, allow both in SCREEN definitions
	* parser.y: improved ACUCOBOL-GT parsing of USAGE HANDLE: allow
	  HANDLE [OF] control-type (support pending), better error messages
	  for unknown HANDLE types
	* parser.y, reserved.c: added COMP-0 as PENDING
	* parser.y: added Micosoft COBOL position specifier

2018-06-04  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: remove path output when creating manpage

2018-05-16  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (compare_field_literal): compare literals also against
	  group items

2018-05-15  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (usage_clause): better error message if USAGE is explicit
	  coded and an undefined word follows; this is especially helpful
	  for words that are only not reserved in the current dialect
	* field.c (compute_size): fix error position for SNYCH dialect messages

2018-05-14  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_check_overlapping): resolve one-level subscripts
	  for checking and warn if both subscripts reference the same
	  variable or numeric value

2018-05-10  Simon Sobisch <simonsobisch@gnu.org>

	Fixed Bug #521 - issues with source cache:
	* pplex.l (ppopen): deactivated changing \ to / in source names
	* codegen.c (output_source_cache, output_string_cache,
	  output_gnucobol_defines): escape \ and " for output to C strings

2018-05-08  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: added OrangeC version info
	* warning.def: fixed grammar in warning descriptions
	* cobc.c, flags.def: use "* " instead of "- " to better distinguish
	  descriptions from options

2018-04-26  Dave Pitts <dpitts@cozx.com>

	* cobc.c (reflow_replace_*_format_text): Changed to malloc token based on
	  newline length instead of hardcoded.

2018-04-24  Dave Pitts <dpitts@cozx.com>

	* cobc.c (reflow_replace_*_format_text): BUG #515 malloc'd token to
	  large size.
	* cobc.c (print_replace_text): BUG #515 malloc and realloc newline
	  based on length of tokens.

2018-04-21  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, config.def: FR #306 added Fujitsu extension
	  SYMBOLIC CONSTANT in SPECIAL-NAMES, effectively defining
	  GLOBAL constants from literals,
	  adjusted by compiler configuration symbolic-constant

2018-04-19  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: FR #305 for now - skip Fujitsu @OPTIONS

2018-04-15  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: prevent output file name "-" for all levels but preprocess,
	  allow listing to be output to stdout with listing name "-"
	* cobc.c, flag.def: replaced -tsymbols by -f[no-]tsymbols,
	  added option to suppress specific listing parts with new options
	  -fno-theader, -fno-tmessages, -fno-tsource (see NEWS)
	* parser.y, reserved.c, typeck.c, field.c, tree.c: FR 303
	  added USAGE BIT and PIC 1 as pending (at least parsing
	  of sources containing these should work now)

2018-04-13  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (process_command_line): minimal size for -tlines=20
	  to prevent endless loops on typos like -tlines=2

2018-04-12  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_internal_function): prevent SIGSEGV for
	  ANY LENGTH items in LINKAGE when program is first COBOL program
	* tree.c (cb_build_intrinsic): leave size of national literals to
	  runtime (as it is done for national items), note: we currently
	  still generate national literals as alphanumeric literals
	* parser.y, typeck.c (cb_build_const_length): allow non-numeric
	  literals to be used with LENGTH OF and prohibit use of numeric
	  literals as parameters for FUNCTION LENGTH/BYTE-LENGTH/LENGTH-AN
	* parser.y, field.c (cb_validate_78_item): fix issues with invalid
	  VALUE clauses

2018-04-09  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_field_size): report ANY LENGTH items as "unknown size",
	  fixing Bug #511

2018-04-04  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: cosmetic change - label exit_program/exit_function
	  depending on program type
	* tree.h: moved definition of COB_MAX_SUBSCRIPTS to libcob/common.h
	* tree.c (finalize_report): removed double check for field (which I've
	  added previously)
	* codegen.c (output_report_def_fields), error.c (print_error),
	  parser.y (emit_entry), typeck.c (cb_build_move):
	  check pointer before dereferencing it

2018-04-03  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_translate): initialize cb_source_file with correct value
	* parser.y (end_scope_of_program_name), tree.h (cb_program): store end
	  of program/function definition in last_source_line
	* codegen.c (output_internal_function): output source location of program
	  / function end (to be set for fall-through end of its definition)
	* tree.c (cb_build_program): store start position of program definition
	* parser.y, typeck.c (cb_emit_call), tree.h: pass position of CALL in the
	  function call instead of a global variable
	* parser.y: store position of entry points with (backup_current_pos)

2018-04-02  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c (cb_register_list_get_first, cb_register_list_get_next),
	  typeck.c (cb_build_registers), tree.h: actually create register
	  definition, not only the name

2018-03-31  Edward Hart <edward.dan.hart@gmail.com>

	* config.def, scanner.l: added zero-length-literals config option.
	* scanner.l: make zero-length Boolean/hex literals default to zero.

2018-03-30  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (validate_move): fixed segfault with zero-length hex literal.

2018-03-27  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (build_cond_88): for VALUE THRU pass generation of this
	  clause by temporarily changing current_statement->name, changed
	  generation of the two conditions to the more natural variant
	  "var >= a && var <= b" instead of "a <= var && var <= b"
	* tree.c (compare_field_literal): added warning for numerical values
	  when compared against their maximum value
	* codegen.c (codegen): generate some comments only when relevant

2018-03-26  Simon Sobisch <simonsobisch@gnu.org>

	* field.c (validate_any_length_item): fixed missing error position
	* tree.c (word_hash): renamed from hash
	* tree.c: check for alphabetic after checking for more common
	  USAGE/categories

2018-03-25  Ron Norman <rjn@inglenet.com>

	* tree.c (warn_cannot_get_utc): removed as we always have it available

2018-03-24  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c, tree.h: emit error if RECORD VARYING has equal implied limits.
	* reserved.c: replaced most instances of cb_strcasecmp with strcmp for
	  efficiency.

2018-03-22  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_fits_int, cb_fits_long_long, cb_get_int, cb_get_long_long,
	  cb_get_u_long_long): adjust literal size with negative scale

2018-03-16  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_move): speedup, especially for programs not
	  defining any reports

2018-03-14  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, parser.y: new token LEVEL_NUMBER for clear separated
	  handling from WORD (and minimal speedup in scanning)
	* field.c (cb_get_level, cb_build_field_tree): simplified level
	  handling as we only have valid level numbers in this tree
	* parser.y (data_description): removed early free of level number
	  token that results in invalid calls to (cobc_parse_free)
	* parser.y (_data_description_clause_sequence, add_body): simplified
	* parser.y (usage_clause), field.c, tree.h: catch unknown USAGE

2018-03-13  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c [__TINYC__]: added Tiny C version info and verbose option
	* cobc.c: change for command line option --version / -V:
	  depending on verbose option additionally call C compiler
	  for more version information

2018-03-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: unreached warning after EXIT SECTION/PARAGRAPH/PERFORM[CYCLE]

2018-03-11  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (validate_move): SET ... TO TRUE with figurative constant
	* scanner.l: fix bug #499 tokenizer combining partial words

2018-03-10  Ron Norman <rjn@inglenet.com>

	* codegen.c: Fix for INITIALIZE of signed numeric (2018-03-08)

2018-03-09  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (scan_floating_numeric): rewritten to merge 2018-01-12,
	  significant allows 36 digits now (according to COBOL 202x)
	* typeck.c (validate_move): adjustments to merge 2018-01-14
	* typeck.c (validate_move), config.def: check for new config option
	  cb_move_fig_space_to_numeric / move-figurative-space-to-numeric

2018-03-08  Ron Norman <rjn@inglenet.com>

	* codegen.c (deduce_initialize_type): use 'cob_move' for signed numeric
	  items to fix wrong group initialization (issue mentioned in bug #61)

2018-03-08  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: actually handle items of CB_CATEGORY_NATIONAL / PIC_NATIONAL
	  as national items, not as alphanumeric
	* reserved.c (function_list): adjustments for CB_CATEGORY_NATIONAL
	* field.c (validate_any_length_item): adjustments for CB_CATEGORY_NATIONAL
	* typeck.c (validate_move): added missing warning for truncation of
	  numeric binary fields when -fbinary-truncate is active;
	  removed false warning for truncation of literal to alphanumeric field
	  when only spaces were truncated

2018-03-06  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_name_1): adjustments for CB_TAG_REPORT/CB_TAG_REPORT_LINE
	* field.c (check_picture_item): fixed tree cast error for setting
	  implied size/type for VALUE SPACE

2018-03-05  Ron Norman <rjn@inglenet.com>

	Changes to solve REPORT problems related to COB_TREE_DEBUG
	* tree.h: added CB_REF_OR_REPORT_P and CB_REPORT_PTR
	* tree.c (cb_ref): verify caller passed a CB_REFERENCE
	* parser.y: remove report_name_list, use CB_REF_OR_REPORT_P
	* codegen.c, typeck.c: fixed problems found by COB_TREE_DEBUG

2018-03-05  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am (clean): remove output files generated by bison
	* Makefile.am (maintainer-clean): remove generated manpage and all
	  files created by bison/flex
	* pplex.l, scanner.l: fixed quoting of ' and " in regexes to
	  let xgettext process these files without error (also fixes
	  rendering in editors/ide's), note: generated C files are binary
	  identical

2018-02-26  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (string_statement): fixed bug #497 STRING within
	  STRING did override the target list
	* parser.y, reserved.c: work on FR #183 added VALIDATE statement
	  as PENDING

2018-02-25  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_display_fields): activated dump code for
	  BASED items

2018-02-23  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_module_init): cater for empty source_cache;
	  disabled generation of flag_debug_trace=COB_MODULE_DEBUG as
	  this is currently not checked anywhere
	* warning.def: change cb_warn_filler to be always active
	* error.c, field.c, tree.c, typeck.c: only raise some cb_warn_filler
	  warnings if -W/-Wall was used

2018-02-21  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.y (validate_move): check for ADDRESS OF var as invalid
	  (bug #495), fixed check for SET statement

2018-02-19  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (select_clause): minimized context-sensitive settings
	* reserved.c, cobc.h, parser.y: added CB_CS_SELECT
	* tree.h: added password (reference) to struct cb_file / cb_alternate_key
	* parser.y, reserved.c: added PASSWORD as PENDING (currently only for
	  indexed files)

2018-02-17  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (report_description_option): fixed reference for CODE IS
	* parser.y (page_line_column): adjusted check for duplicate LINE LIMIT
	* codegen.c (output_internal_function): fixed position of
	  initialization for report files in INITIAL programs
	* pplex.l, scanner.l: don't consume trailing whitespace/newline
	  if not necessary, combined some groups with optional/or modifiers

2018-02-16  Dave Pitts <dpitts@cozx.com>

	* cobc.c (get_next_token): BUG #494 Fixed scanning of tokens with
	  embedded quotes, eg. 'yyy-'hello

2018-02-15  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (validate_move, move_warning): show literal size for
	  size overflow warnings (for numeric literals the actual literal)
	* cobc.c (preprocess): FR #81 preprocess to stdout if no output file
	  is given (= revert back to behaviour of GnuCOBOL pre 2.x)

2018-02-09  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: renamed cob_strcasecmp to cb_strcasecmp
	* reserved.c (default_reserved_words_list): removed EBCDIC handling
	  as the list is always sorted now
	* reserved.c (initialize_reserved_words_if_needed): use case
	  sensitive comparison when sorting default_reserved_words_list
	* field.c: adjustments for REPORT/SCREEN USAGE checks
	* cobc.c, typeck.c, field.c, tree.h: moved (cobc_enum_explain_storage)
	  to typeck.c as enum_explain_storage
	* typeck.c: minor refactoring of arithmetic_osvs code

2018-02-02  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_get_long_long, cb_get_u_long_long): fix bug #492
	  adjusted literal size check
	* tree.c, typeck.c, codegen.c: first approach to fix tree cast
	  errors in REPORTWRITER code
	* codegen.c: moved parts of (output_funcall) to new functions
	  (output_funcall_typed) and (output_funcall_typed_report)

2018-02-01  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, tree.h [COB_TREE_DEBUG]: make sure that we don't enter
	  a loop of cb_tree cast errors, possible as (cb_name) is called
	  which may result in another call of (cobc_tree_cast_error);
	  removed compiler specific handling
	* cobc.c (cobc_abort_terminate): add parameter indicating that
	  the user should report the error

2018-01-30  Ron Norman <rjn@inglenet.com>

	* codegen.c: Fix generation of dump-code for fields with IS EXTERNAL
	* parser.y: Have REPORT fields parse all USAGEs to provide
	  meaningful errors and to allow USAGE NATIONAL
	* field.c: Add check for REPORT/SCREEN field not DISPLAY
	  'fieldname' should be USAGE DISPLAY for REPORT/SCREEN

2018-01-29  Ron Norman <rjn@inglenet.com>

	* tree.c, tree.h, typeck.c: Fine tuning of arithmetic_osvs

2018-01-25  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c: postponed check for dangling LINKAGE items
	  from entry point generation to program validation, allowing to
	  only warn items that are actually in use, checked in new
	  function (has_sub_reference)
	* cobc.c (process_filename): set internal filename before checking
	  for valid name to get better error messages

2018-01-25  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (default_reserved_words_list): no longer assumed to be
	  sorted - this caused hard to understand errors when it
	  wasn't. (initialize_reserved_words_if_needed) now sorts it.

2018-01-24  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: added ACUCOBOL synonyms FLOAT -> FLOAT-SHORT,
	  DOUBLE -> FLOAT-LONG

2018-01-23  Ron Norman <rjn@inglenet.com>

	* tree.c: fixed coding error to use CB_FIELD_PTR
	* codegen.c, typeck.c: changed to use CB_FIELD_PTR as needed

2018-01-23  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: use position of last section when defining an implicit
	  paragraph
	* typeck.c (cb_build_identifier): adjusted debug checks for
	  EC-PROGRAM-ARG-OMITTED and EC-DATA-PTR-NULL
	* typeck.c: minor code refactoring

2018-01-22  Simon Sobisch <simonsobisch@gnu.org>

	* codgen.c (output_internal_function): don't clear sticky-linkage pointers
	  when program has CHAINING
	* parser.y: added SAME phrase for screen i/o as PENDING
	* field.c (compute_size): fixed check for report line

2018-01-18  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_identifier): also check for ref-mod length
	  overflow when offset is is a variable
	* typeck.c (cb_build_identifier): only build field name if actual
	  needed, moved code building to new static cb_build_name_reference
	* tree.c (compare_field_literal): added check for comparisions against
	  a reference modified field when the offset or length is known

2018-01-16  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_assignment_name): only warn ASSIGN EXTERNAL fname
	  interpretation when fname was changed

2018-01-14  Ron Norman <rjn@inglenet.com>

	* typeck.c (validate_move), config.def: check for new config option
	  cb_move_nonnumlit_to_numeric_is_zero / move-non-numeric-lit-to-numeric-is-zero
	  and auto-convert MOVE LOW-VALUES/HIGH-VALUES/SPACES to PIC 9 DISPLAY field
	  into MOVE ZERO like MicroFocus does this

2018-01-12  Ron Norman <rjn@inglenet.com>

	* scanner.l (scan_floating_numeric): allow larger float constants

2018-01-12  Simon Sobisch <simonsobisch@gnu.org>

	* config.def: added cb_missing_statement, see FR #288
	* parser.y (if_statement): first change for FR #288 leading to warning
	  message for "IF cond ELSE statements"
	* tree.c (cb_build_reference, cb_ref), parser.y (procedure_name):
	  store position (section/paragraph) for all references not only for labels
	* error.c (cb_verify_x, cb_set_ignore_error): never ignore errors that
	  depend on compiler configuration
	* parser.y (procedure_name), typeck.c (cb_validate_program_body), tree.h:
	  don't raise errors for labels in ignored code parts and skip some
	  verifications on these

2018-01-07  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: moved all code parts for (output_function_entry_function)
	  to this function and adjusted the callers
	* typeck.c, parser.y, tree.h: adjusted (cb_build_program_id) to directly
	  get the external name passed, removing duplicated code

2018-01-03  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (cb_build_move_literal): fixed bug #486, where literals moved
	  to an ANY LENGTH item where truncated to one character.
	* typeck.c (validate_move): fixed spurious "value exceeds data size"
	  warning for ANY LENGTH items.

2017-12-31  Ron Norman <rjn@inglenet.com>

	* codegen.c, tree.c: fix bug #471 Mark report fields as being
	  referenced so that the cob_field is always emitted

2017-12-26  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.h, config.c, field.c: added more lax "gc" option to
	  screen-section-rules.

2017-12-25  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, codegen.c, parser.y, scanner.l, tree.h, tree.c: renamed
	  CB_PROGRAM_TYPE to COB_MODULE_TYPE_PROGRAM and CB_FUNCTION_TYPE to
	  COB_MODULE_TYPE_FUNCTION and moved definition to libcob/common.h
	* codegen.c (output_module_init): deactivated generation of currently
	  unused module_returning

2017-12-24  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (file_status_clause): FR #51 added parsing for
	  secondary VSAM status, unconformable to any other than IBM/MVS
	  where it is ignored (with a warning with -Wall)
	* config.c, cobc.h: parse standard-define, checking for valid entry
	  and actually setting it again

2017-12-24  Edward Hart <edward.dan.hart@gmail.com>

	* config.def, config.c, field.c: added screen-section-rules option to
	  set rules for SCREEN SECTION item clauses.
	* field.c: removed "alphanumeric value is expected" warning when using
	  numeric VALUEs in the SCREEN SECTION.

2017-12-22  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h, parser.y (begin_implicit_statement), codegen.c (output_stmt):
	  fixed duplicated trace code generation for implicit statements

2017-12-22  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_attr): set flag COB_FLAG_IS_FP for all FLOAT types

2017-12-21  Ron Norman <rjn@inglenet.com>

	* codegen.c: For REPORT pass CODE value to report structure
	* parser.y: pass back CODE value

2017-12-17  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (read_literal): fix endless loop on invalid literals for
	  systems that define EOF as -1

2017-12-15  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: adding/removing a register now removes the reserved word
	  with the same name (if it exists) (feature request #278).
	* cobc.c (cobc_print_usage): added help text for -f(not-)register.

2017-12-15  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_command_line) [_MSC_VER]: check if -l was specified
	  including ".lib" before adding it
	* cobc.c (process_filename): don't allocate and set fn->object for
	  most used cb_compile_level == CB_LEVEL_MODULE as it is is compiled
	  without intermediate object file
	* reserved.c (function_list): corrected number of parameters according
	  to all other checked implementations and the Programmer's Guide
	  (PRESENT-VALUE min 1->2, RANDOM max unlimited->1)

2017-12-13  Edward Hart <edward.dan.hart@gmail.com>

	* tree.h: renamed special_index to index_type and replaced magic
	  constants with (cb_index_type) enum.

2017-12-12  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (rep_name_list): handle case where $1 == cb_error_node
	  (bug #472).

2017-12-12  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: fix --list-registers to list these, not mnemonics...

2017-12-11  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: set RW VARYING clause as PENDING
	* parser.y: FR #167 added ACUCOBOL CONTROL KEY as PENDING
	* codegen.c, tree.c: fixed compiler warnings in RW code
	* field.c, ppparse.def: removed constant evaluations of pointer size
	  by using COB_64_BIT_POINTER

2017-12-11  Edward Hart <edward.dan.hart@gmail.com>

	* config.def, field.c, parser.y: added binary-comp-1 option (feature
	  request #272).
	* pplex.l, ppparse.y: added COMP1 directive.
	* ppparse.y: removed redundant checks for well-formed literals.
	* ppparse.y: slightly improved error messages for invalid directives.
	* parser.y: added syntax checks for PAGE LIMITS clause.
	* reserved.c: fixed COLUMNS not being detected by GnuCOBOL.
	* parser.y (report_group_description_entry): added syntax error handler.

2017-12-10  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (get_reserved_words_with_amendments): no longer ignore
	  user-specified aliases for default reserved words.
	* pplex.l, ppparse.y, reserved.c, scanner.l: added support for MF's
	  reserved word directives ADDRSV, ADDSYN, MAKESYN, OVERRIDE and REMOVE.

2017-12-10  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: adjustments after merge of split/sparse keys from rw-branch,
	  minimized the number of necessary rules

2017-12-06  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, tree.c, tree.h, typeck.c: minor adjustments after merge
	  of reportwriter branch
	* codegen.c: adjustments after merge of reportwriter branch for
	  refactored code parts (no additional refactoring so far)
	* cobc.c (cobc_enum_explain): added CB_TAG_REPORT_LINE
	* cobc.c (process_run) [_WIN32]: change / in given output name to \

2017-12-04  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (build_evaluate): error position improvement for
	  "wrong number of WHEN parameters"

2017-12-02  Simon Sobisch <simonsobisch@gnu.org>

	* config.def, parser.y: FR #158 added cb_perform_varying_without_by
	* parser.y: FR #168 adding missing compile time checks for
	  PERFORM BY ZERO

2017-12-01  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: FR 259 delete temporary files as soon as possible:
	  moved cleanup of intermediates for a single processed file
	  from (cobc_clean_up) to (clean_up_intermediates) and call this in
	  main after processing the single file
	* parser.y, typeck.c: fixed some errors spotted by COB_TREE_DEBUG

2017-11-30  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.h, cobc.c (process_translate), codegen.c: local_filename with
	  additional attribute local_include_name as short name,
	  local_name containing the full name for file handling again

2017-11-29  Simon Sobisch <simonsobisch@gnu.org>

	* error.c (undefined_error): always raise "not defined" error if
	  word is already qualified
	* parser.y, reserved.c, cobc.h: FR #265 added parsing for ACUCOBOL
	  graphical controls, control styles, control properties and rough
	  parsing of INQUIRE and MODIFY statements
	* tree.h, field.c (validate_pic, setup_parameters): set new attribute
	  pic->flag_is_calculated where picture wasn't originally specified
	  and don't check this pseudo PICTURE later.
	* tree.c, tree.h: disabled pic->real_digits as it is currently not
	  in use anywhere (just calculated in tree.c)

2017-11-25  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: moved aliases VALUES/ZEROES/ZEROS to default.conf

2017-11-25  Ron Norman <rjn@inglenet.com>

	Bug #175 fixed: LENGTH OF constants with grouped fields
	* typeck.c: make sure field has been verified for constant LENGTH
	* field.c: set pic.category for POINTER and ignore PIC for it later
	* field.c (setup_parameters): set PIC 9(17) for pointer in 64 bit mode

2017-11-23  Ron Norman <rjn@inglenet.com>

	* codegen.c: change in generation of comments concerning returning items

2017-11-22  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added parsing for ARITHMETIC clause
	* parser.y, reserved.c, cobc.h: added context sensitivity for
	  SCREEN SECTION, adjusted reserved words to CB_CS_SCREEN and CB_CS_SET
	* parser.y: renamed "not" to much more clearer "not_expr" to prevent
	  confusing it with "flag_not"
	* reserved.c: moved aliases LOW-VALUES/HIGH-VALUES to default.conf
	* parser.y: moved reset of cobc_cs_check from _mnemonic_conv to end of
	  call_statement
	* reserved.c (lookup_reserved_word): fixed returning of context-sensitive
	  word without context (happened when the word *set* a context, too);
	  no auto-reset within CB_CS_SCREEN context

2017-11-21  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_run): fixed possible SIGSEGV for long run options,
	  use output_name, with stripped extension if necessary (see bug #466)
	* cobc.c (process_translate): fixed bug #466 by removing path from
	  C source names after fopen
	* cobc.c: fixed possible SIGSEGV for long COB_STRIP_CMD
	* cobc.c (process_link): only add COB_EXE_EXT for running strip command
	  if is isn't already specified
	* pplex.l (ppopen): fixed bug #467 by adding missing checks for
	  recursive sources before fopen
	* cobc.c, error.c: allowed messages with filenames only, line number
	  isn't printed if -1

2017-11-20  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_assemble, process_filename)[__OS400__]: fixed
	  SIGSEGV by ensuring bufflen to always include the size of the full
	  path for fn->translate and a minor memory issue by calling
	  cobc_main_free with original fn->translate before assigning it with
	  the full path
	* cobc.c (process_assemble)[__OS400__, __WATCOMC__]: removed running
	  the created object file
	* cobc.c: renamed cobc_stradd_dup to cobc_main_stradd_dup and added
	  a new version of cobc_stradd_dup that uses temporary memory
	* cobc.c: added optional parameter to file_basename to specify which
	  extension to remove (if NULL all extensions will be removed)
	* cobc.c (process_filename): use strcasecmp instead of strcmp
	  because of possible compilation on FAT/NTFS
	* cobc.c: removed wants_nonfinal, directly check cb_compile_level instead
	* cobc.c (set_compile_level_from_file_extension): new function to
	  adjust cb_compile_level if outputname was specified but no option
	  to set the compile level

2017-11-15  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, cobc.c: removed superfluous memset to 0 after cobc_malloc
	  in listing functions
	* cobc.c, cobc.h: always store cb_source_format as enum cb_format,
	  using getopt return values for --fixed / --free instead as
	  getopt assigns an integer which is not guaranteed to be sizeof(enum)
	* cobc.c (cobc_xref_call): bug #463 - fixed memory leak in Xref code
	* cobc.c: modularized cleanup code to (cleanup_copybook_reference)
	* cobc.c: bug #463 - reset cb_current_file->copy_tail on listing setup
	* cobc.c: modularized processing of files from (main) to (process_file)
	  and separated functions (begin_setup_compiler_env),
	  (finish_setup_compiler_env), (begin_setup_internal_and_compiler_env),
	  (finish_setup_internal_env) from (main) function

2017-11-14  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: removed artificial limit for -fmax-errors
	* cobc.c: FR #255 new command line option -O0 (short-opt: '0') for
	  disabling optimizations (new define CB_COPT_0),
	  postpone addition for -O option group to cflags
	* tree.c (cb_int, cb_build_label): set source position for integers
	  and labels on tree creation
	* parser.y: removed position setting for integers and labels
	* parser.y (backup_current_pos, set_pos_from_backup): new functions for
	  position corrections (currently not used)
	* codegen.c (output_call), parser.y (call_body): fixing bug #462
	  don't generate static calls if ON EXCEPTION is given

2017-11-13  Ron Norman <rjn@inglenet.com>

	fixed Bug #461:
	* codegen.c: new function cb_init_codegen to clear local variables
	* cobc.c: call cb_init_codegen after releasing cob_parsemem_base or
	  cobc_mainmem_base

2017-11-12  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h, tree.c, typeck.c: removed level_redundant_error and moved
	  the only part of it that was used once to typeck.c (validate_occurs)
	* typeck.c (validate_occurs): check level before raising a warning on
	  use of level 01/77 OCCURS, warn with correct position

2017-11-11  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: increase size for DEBUG-CONTENT according to file record length
	* codegen.c: initialize return_address_ptr to an existing label to ensure
	  that at least one label is available for computed goto, see bug 439#

2017-11-09  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_call): change to exception handling: only check for
	  exceptions that are the result of the current CALL

2017-11-09  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c, typeck.c: add DEBUG-ITEM to be handled as register
	* typeck.c: change definition of DEBUG-ITEM: DEBUG-LINE is alphanumeric,
	  DEBUG-NAME and DEBUG-CONTENT X(31) -> X(30)

2017-11-07  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: change to USE FOR DEBUGGING procedures - don't generate a
	  local cob_debugging_mode and use runtime setting instead

2017-11-05  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: only switch CALL ... BY VALUE to BY CONTENT for a single
	  parameter and output its name
	* warning.def, cobc.h: allow -Wno-other to suppress messages generated
	  because of "COBC_WARN_FILLER"
	* warning.def, error.c, typeck.c: allow -Wno-dialect to suppress messages
	  generated because of dialect option value "warning"
	* cobc.c: default cb_flag_computed_goto depending on COB_COMPUTED_GOTO
	  instead of a fixed list of compiler (version) defines
	* flag.def, cobc.c, codegen.c: disabled -fif-cutoff (cb_if_cutoff,
	  gen_if_level), can be re-activated by -DCOBC_HAS_CUTOFF_FLAG (likely
	  to be removed completely later), see bug #456

2017-11-03  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: fixed bug #458 by adding error handling for copybooks
	  that couldn't be opened because of external limits

2017-11-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: check missing evaluation of command line option;
	  code-coverage specific changes

2017-10-25  Ron Norman <rjn@inglenet.com>

	* typeck.c (validate_move invalid:) fixed bug #225 report
	  'invalid SET statement' when appropriate

2017-10-25  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: specify all generated source files in BUILT_SOURCES
	  that have to be built _before_ other sources, fixing parallel builds

2017-10-24  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fixed bug #454 suspicious warning with actual working
	  CURRENCY SIGN, better error messages for this clause
	* error.c, cobc.c: changed message format back to old version,
	  see bug #455
	* typeck.c: fixed bug #266 - false error on duplicate characters in
	  class definition
	* parser.y: added *parsing* for COBOL2002 options to specify class type
	  and referenced alphabet in SPECIAL-NAMES, CLASS clause

2017-10-22  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: moved include of top_srcdir to AM_CPPFLAGS to prevent
	  user-specified CPPFLAGS to override own includes, see bug #452
	* cobc.c: minimal support for DJGGP, including generation of 8.3 filenames
	* cobc.c: don't halt immediately on first PATH error during startup,
	  postponed until command line arguments are processed

2017-10-18  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_internal_function): Fixed problem with braces in
	  variable dump code

2017-10-17  Ron Norman <rjn@inglenet.com>

	Fixed bug #449 - debug should not imply trace
	* cobc.c: change so -debug does NOT set -ftrace
	* codegen.c: set module flags on entry to indicate if module
	  was compiled with -debug or -ftrace[all] so that the module
	  is not traced at runtime unless it had been compiled with that
	  option

2017-10-14  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: refactored and improved variable names in external form
	  functions.

2017-10-07  Ron Norman <rjn@inglenet.com>

	* codegen.c: correction for -fodoslide

2017-10-06  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, tree.c, tree.h: added RECORD DELIMITER syntax checks.
	* parser.y, cobc.h, reserved.c: added BINARY-SEQUENTIAL and
	  LINE-SEQUENTIAL phrases to RECORD DELIMITER.
	* config.def: added config options for RECORD DELIMITER clause.

2017-09-28  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (stop_statement): set context-sensitive flag (bug #433).

2017-09-22  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_abort_msg): output orig_program_id instead of C-converted
	* codegen.c (codegen): adjust current_program used for error messages
	  during code generation of nested programs
	* parser.y: fixed missing warning for pending CURRENCY SIGN other than '$'
	* cobc.c, tree.c, tree.h: fixed #435 - nested programs had no access to
	  identifiers in its parent's scope: added next_program_ordered to
	  struct cb_program set in (restore_program_list_order) and used for
	  checking nested lookups afterwards

2017-09-22  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (cb_set_intr_when_compiled): #436 fixed timezone printf format
	* cobc.c (cobc_enum_explain): added missing tags

2017-09-21  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: ensure correct order of the programs during processing
	* codegen.c (output_param): added missing check after calling (cb_ref)
	  to prevent SIGSEGV, see Bug #435
	* typeck.c, tree.c: checked result of (cb_ref) where missing

2017-09-18  Ron Norman <rjn@inglenet.com>

	* codegen.c:
	  Emit Decimal Constants for all module types

2017-09-18  Ron Norman <rjn@inglenet.com>

	* config.def:
	  Added select-working: yes/no
	  SELECT RELATIVE KEY and ASSIGN fields must be in WORKING-STORAGE
	* typeck.c:
	  Report 'declared outside WORKING-STORAGE' if 'select-working: yes'
	  and SELECT RELATIVE KEY or ASSIGN field is not in WORKING-STORAGE
	* codegen.c:
	  When SELECT RELATIVE KEY or ASSIGN field is not in WORKING-STORAGE
	  Then set current data address in each OPEN and for RELATIVE files
	  on every I/O operation
	* tree.c:
	  Fix compile time resolve of FUNCTION INTEGER with negative value

2017-09-16  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, config.def: added free-redefines-position config option.

2017-09-15  Ron Norman <rjn@inglenet.com>

	* tree.c (cb_build_intrinsic): compute CB_INTR_LENGTH CB_INTR_BYTE_LENGTH
	  at compile time if field is fixed-length, non-national.
	  NOTE (Simon): other functions are postponed to later

2017-09-10  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (cb_int): corrected bitmask.
	* config.def, typeck.c: added line-col-zero-default and display-special-
	  fig-consts options. This reinstates GnuCOBOL's previous behaviour of
	  DISPLAYing a field on screen at the current position of the cursor and
	  disabling the MF DISPLAY SPACES extension.
	* parser.y: increase number of places which accept ZERO (including SIZE
	  clause).

2017-09-05  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (cb_int): add bitmask to suppress runtime loss-of-data warning
	  on Windows.

2017-09-05  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_validate_program_data): temporarily disabled ASSIGN
	  fields with changing address (BASED + LINKAGE) to prevent SIGSEGV
	  until code generation is changed, see bug #421
	* codegen.c: changed generated newlines/comments for file initialization

2017-09-04  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c, tree.c, tree.h, typeck.c: started to change compiler
	  internal variables to be unsigned int instead of int to prevent
	  C compiler warnings about a possible negative access to arrays
	  and sign mismatches in comparisons
	* codegen.c: output comment for decimal constants only if we have
	  actually generate decimal constants

2017-09-02  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: adjusted some missing context-sensitive options
	* reserved.c, parser.y: added parsing of PHYSICAL attribute in
	  LENGTH functions

2017-08-28  Edward Hart <edward.dan.hart@gmail.com>

	* field.c (validate_field_1): refactored.

2017-08-23  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c (cobc_clean_up): added calls to (plex_call_destroy) and
	  (ylex_call_destroy), *actually* fixing bug #407.
	* pplex.l (ylex_clear_all): added calls to (cb_reset_78) and
	  (cb_reset_global_78) to prevent memory leak on abort (bug #417).

2017-08-20  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: work on expression warning messages and added more

2017-08-19  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, flag.def, warnings.def, cobc.h: changed handling for
	  cobc --help, mainly to provide translators with context for msgids
	* field.c: adjusted message for cb_warn_ignored_initial_val

2017-08-18  Simon Sobisch <simonsobisch@gnu.org>

	* flag.def: always activate cb_flag_recursive_check by CB_FLAG_ON
	* tree.c, codegen.c: assume RECURSIVE for -fno-recursive-check

2017-08-18  Ron Norman <rjn@inglenet.com>

	* codegen.c: emit code for CALL to handle ON EXCEPTION

2017-08-17  Ron Norman <rjn@inglenet.com>

	* scanner.l: Added SET_LOCATION when returning 'literal'
	             which is a 78/01 constant
	* codegen.c: Emit cob_module_global_entry instead of cob_module_enter and
	  pass the 'entry' value (currently only set in rw-branch).

2017-08-17  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: work on expression warning messages

2017-08-18  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (screen_occurs_clause): marked as pending.

2017-08-15  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: bug #413 don't generate cob_check_based for UDF return fields
	* cobc.c (xref_print): output marker for receiving references

2017-08-14  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: fixed tree cast error for literals
	* typeck.c (cb_build_cond): fixed tree cast error with cb_arithmetic_osvs

2017-08-13  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: added cobc_early_exit and adjusted exit calls to fix missing free
	* ppparse.y: CDF: warn if compiler flag is unknown
	* typeck.c: allow figurative constants to be used for CALL USING as
	  documented for IBM COBOL

2017-08-12  Ron Norman <rjn@inglenet.com>

	* codegen.c: Place all code to clear Decimal Constant values under
	  label P_clear_decimal and invoke that code when 'entry' is -20

2017-08-11  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: implemented (not-)register: DIALECT-ALL.
	* codegen.c (output_internal_function): fixed C compile error when
	  RETURN-CODE register is disabled.

2017-08-10  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c (cobc_clean_up): added calls to (plex_clear_all) and
	  (ylex_clear_all), fixing bug #407.

2017-08-09  Edward Hart <edward.dan.hart@gmail.com>

	* config.c (cb_config_entry): removed extraneous free (bug #409).
	* config.c (cb_config_entry): fixed indentation.

2017-08-07  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c, typeck.c, tree.h: adjusted and included
	  Patch #27 by Wim Niemans 2016-06-13 for FR #100 as PENDING
	* field.c, tree.c: adjustments for EXTERNAL-FORM
	* cobc.c, error.c, parser.y, typeck.c: msgid specific changes

2017-08-07  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: moved RELATIVE KEY validating code to
	  (validate_relative_key), called in (cb_validate_program_data).
	* typeck.c (validate_relative_key): altered to check key is not the
	  associated file's records and improved category check.
	* parser.y: added check that correct KEY clause is used with
	  RELATIVE/INDEXED files (bug #405).

2017-07-29  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (system_name_table): added switches USW-0 thru USW-31.
	* field.c (validate_field_1): added warning for useless FULL clause on
	  numeric items.
	* parser.y (error_stmt_recover): removed ELSE from list of verbs,
	  preventing recursion on syntax error in IF statements (bug #403).

2017-07-27  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: fixed bug #402 - optional WITH clause functional
	* parser.y, reserved.c: FR #78 more phrases for DISPLAY WINDOW
	* parser.y, typeck.c: FR #77 fixed HANDLE references
	* parser.y, reserved.c: FR #190 minimal support for DISPLAY MESSAGE BOX
	* parser.y, typeck.c: fixed SIGSEGV in cobc for DISPLAY OMITTED

2017-07-26  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added clauses COLOR and SIZE as PENDING
	* parser.y: added ACCEPT FROM SCREEN as PENDING

2017-07-27  Ron Norman <rjn@inglenet.com>

	* tree.c:
	  Improve warning messages for comparing literals to fields

2017-07-23  Ron Norman <rjn@inglenet.com>

	* tree.c: Improve line number used in warnings about 'always TRUE/FALSE'
	  Check for IF/WHEN with NOT condition to resolve compile time expr
	* typeck.c: Turn off ignore of errors as required
	* codegen.c: Emit line # in C code for WHEN statements

2017-07-20  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: fixed memory overlap for long strings in listing title
	* cobc.c [_MSC_VER](process_filtered): fixed cobc_free of NULL pointer

2017-07-19  Ron Norman <rjn@inglenet.com>

	* typeck.c, parser.y, tree.h, tree.c:
	  Limit ignoring errors to IF, WHEN and PERFORM UNTIL
	  when the condition is resolved at compile time
	* tree.c: When comparing a display numeric field to a literal
	  and the literal is longer than the field, the result
	  can be determined at compile time as TRUE or FALSE

2017-07-18  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, tree.c: check both increased MAX_FD_RECORD and the new
	  introduced MAX_FD_RECORD_IDX depending on file organization
	* config.c: for -fnot-reserved=word: additional to removing "word"
	  from reserved word list remove "word" from register, system-names
	  and intrinsic function list

2017-07-17  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (cb_expr_shift): corrected r1347 - only set expr_lh to NULL
	  if the token in parentheses is a relational expression (see bug #321).

2017-07-17  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: better handling of empty/comment only lines
	* tree.h, tree.c, typeck.c: added explain_operator and used where
	  appropriate

2017-07-17  Ron Norman <rjn@inglenet.com>

	* tree.c: in cb_build_binary_op provide details on why an
	  expression is always TRUE or FALSE and better indicate which
	  line this happened on
	* tree.c: in cb_build_binary_op check for '@' parens operator
	  with a numeric literal inside the parens

2017-07-14  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: only allow RETURNING/GIVING in EXIT PROGRAM/GOBACK
	  if RETURN-CODE register is not disabled; always return 0 on
	  STOP RUN if no RETURN-CODE register is available
	* reserved.c, tree.h: new functions cb_register_list_get_first and
	  cb_register_list_get_next for iterating through all active registers
	* typeck.c: modularize register creation

2017-07-13  Simon Sobisch <simonsobisch@gnu.org>

	* config.def: added support options cb_move_fig_constant_to_numeric
	  "move-figurative-constant-to-numeric" and cb_move_fig_quote_to_numeric
	  "move-figurative-quote-to-numeric"
	* typeck.c: re-allow move of figurative constants to numeric/numeric
	  edited fields, cater for new compiler support flags
	  cb_move_fig_constant_to_numeric and cb_move_fig_quote_to_numeric;
	  removed the explicit internal change in this case to ALL ZERO
	* typeck.c, cobc.h, cobc.c: renamed cb_list_system
	  to cb_list_system_routines
	* reserved.c, cobc.h, cobc.c: renamed cb_list_mnemonics
	  to cb_list_system_names
	* reserved.c: added switch alias-names UPSI-0 to UPSI-8
	* cobc.c (cobc_enum_explain), codegen.c (output_param), tree.h:
	  added missing parts for CB_TAG_DECIMAL_LITERAL to fix
	  cast check errors

2017-07-12  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c, parser.y, tree.c, codegen.c: checked the now optional fields
	  cb_return_code, cb_call_params, cb_sort_return before accessing them
	* flag.def: removed -fsyntax-extension "cb_syntax_extension" because
	  there's no actual use any more as non-standard switches can now be
	  activated by compiler configuration and/or command line option
	  -fsystem-name=SW1
	* reserved.c: added ACUCOBOL synonym ABSOLUTE-VALUE for function ABS

2017-07-11  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: added functions for (de)activating registers, system names,
	  intrinsics; removed ext_system_table and added its entries as deactived
	  to system_table
	* config.c: added options to (de)activate registers, system names,
	  intrinsics
	* cobc.c: added --list-registers and -f[no-]intrinsic-function,
	  -f[no-]system-name, -f[no-]register
	* parser.y: don't stop parsing on wrong entries in REPOSITORY

2017-07-10  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: FR #206 added -O3 option

2017-07-09  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: output a reserved word's aliases during --list-reserved
	  (feature request #214).

2017-07-07  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c: Prevent undefined behaviour and fixed typos in RW code

2017-07-07  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: RECORD KEY in SELECT does not support FD in name bug #331
	* tree.h: added cb_feature_mode for compiler features we can have
	  activated, disabled (by compiler configuration), or not implemented;
	  (cb_intrinsic_table): replaced "const int implemented" by
	  "enum cb_feature_mode active"
	* reserved.c, tree.c: adjusted cb_intrinsic_table to use cb_feature_mode

2017-07-06  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c, typeck.c, tree.h: added parsing for ACU
	  extensions DISPLAY WINDOW, CLOSE WINDOW and DESTROY statements

2017-07-05  Ron Norman <rjn@inglenet.com>

	* codegen.c, typeck.c, error.c, parser.y, tree.c, tree.h:
	  Updates to skip emiting code for IF, WHEN in cases where
	  the condition is resolved down to TRUE or FALSE at compile time
	  cb_error reports as 'Error (ignored)' when code is not being emitted

2017-07-04  Simon Sobisch <simonsobisch@gnu.org>

	* error.c: don't output "[re]defined here" messages when there
	  is no actual location to reference
	* parser.y, reserved.c: added ACU extension USAGE HANDLE (both generic
	  and typed variants), added parser part for ACU THREADs (started via
	  CALL/PERFORM) and THREAD statements (SET THREAD PRIORITY and STOP THREAD)
	  [nothing done in libcob yet]
	* codegen.c, field.c: changes for USAGE HANDLE

2017-07-03  Ron Norman <rjn@inglenet.com>

	* typeck.c: Move check for cb_warn_parentheses to cb_build_expr routine
	  so that the check is done before constant expressions get folded

2017-07-03  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_build_binary_op): raise "invalid expression" for
	  invalid elements instead of COBC_ABORT
	* config.def, cobc.c (cb_build_binary_op): added cb_constant_folding
	  "constant-folding" configuration option to provide a way to disable
	  this optimization (which is active in nearly all conf-files)
	* config.def: reordered for nicer help output
	* warning.def, typeck.c (validate_move): renamed cb_warn_truncate
	  "-Wtruncate" to cb_warn_pos_truncate "-Wpossible-truncate" and
	  cb_warn_constant "-Wconstant" to cb_warn_truncate "-Wtruncate"
	* config.def, scanner.l: renamed cb_acucobol_literals
	  "acucobol-literals" option to cb_acu_literals "acu-literals"
	* parser.y: set context CB_CS_ALLOCATE and CB_CS_READ

2017-07-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_print_usage): added -std=rm and all strict variants

2017-06-30  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: allow support options to be prefixed with '+'
	  to override the valaue previous set only if it is less strict
	  ok and +warning => ok, warning and +ok => ok
	* parser.y (terminator_warning, terminator_error): don't warn/error
	  for missing terminators that don't exist in the current dialect

2017-06-22  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h, config.def, config.c, reserved.c: replaced
	  "specify-all-reserved" (cb_specify_all_reserved) by
	  "reserved-words" (cb_reserved_words)
	* cobc.c (process_command_line): process -std= and -conf= even when
	  specified after --list-reserved

2017-06-20  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Added CALL cross reference functions.
	* tree.h: Added CALL cross reference structures.
	* typeck.c: Added CALL cross reference calls.

2017-06-16  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: added CODE_COVERAGE parts as provided by AX_CODE_COVERAGE
	* cobc.c, codegen.c, codeoptim.c, error.c, field.c, pplex.l, tree.c
	  typeck.c: surrounded exception ABORTs that cannot be tested by LCOV_EXCP
	  markers

2017-06-16  Dave Pitts <dpitts@cozx.com>

	* cobc.c (reflow_replaced_fixed_format_text): listings: Fixed multiple
	  line output.

2017-06-13  Dave Pitts <dpitts@cozx.com>

	* cobc.c (get_next_token): listings: Keep string as a single token.

2017-06-13  Ron Norman <rjn@inglenet.com>

	* typeck.c: #306 check for misplaced operators and report error

2017-06-12  Simon Sobisch <simonsobisch@gnu.org>

	* config.def: renamed "debugging-line" option (cb_debugging_line)
	  to "debugging-mode" (cb_debugging_mode) because of name conflict
	  with option -fdebugging-line to activate these lines
	* parser.y, pplex.l: moved compiler verification for DEBUGGING MODE
	  from parser.y to pplex.l
	* pplex.l: actual compiler verification for debugging indicators

2017-06-10  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: error on $SET var lit OVERRIDE (as this isn't available it was
	  interpreted as unknown SET OPTION)

2017-06-09  Ron Norman <rjn@inglenet.com>

	* ppparse.y, scanner.l: pass OVERRIDE thru the
	  preprocessor to allow variables to be redefined

2017-06-09  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: remove trailing spaces and inline comments
	  for >> DISPLAY and $DISPLAY, remove surrounding quotation symbols
	* typeck.c (cb_build_const_from): create numeric constant instead
	  of alphanumeric if the compile-time variable is numeric

2017-06-07  Simon Sobisch <simonsobisch@gnu.org>

	* ppparse.y, config.def: only allow extension ">> DEFINE CONSTANT var [AS]"
	  depending on configuration option define-constant-directive
	  --> use plain  >> DEFINE var [AS] literal for conditional compilation
	  and use        01 CONSTANT with/without FROM clause  for constant definitions

2017-05-14  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, config.def: part reverted r837 - allow incorrect
	  configuration section paragraph order with
	  incorrect-conf-sec-order option (see bug #224).
	* parser.y (check_comp_duplicate): removed redundant code checking
	  for duplicate SOURCE-/OBJECT-COMPUTER paragraphs.

2017-06-05  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: prevent memory leak when options are specified multiple times
	* cobc.c (print_program_trailer): correct program order in listing
	  for both with/without code generation
	* cobc.c (process_translate): on processing errors set cb_flag_syntax_only
	  to not loose the information "no codegen occured"
	* cobc.c: replaced --no-symbols (cb_no_symbols) by
	  -tsymbols (cb_listing_symbols)
	* cobc.c: added (cobc_enum_explain_storage) to output
	  storage note in symbol listing

2017-06-03  Simon Sobisch <simonsobisch@gnu.org>

	* config.def, pplex.l: renamed cb_eject_statement to cb_listing_statements,
	  added title-statement
	* pplex.l, ppparse.y: added parsing for *CONTROL statement (PENDING)
	  and EJECT/SKIP1/SKIP2/SKIP3 + TITLE statements (either "removing" from
	  further handling [processed in cobc.c directly] or pass for example as
	  user-defined word)
	* cobc.c: handle listing-directive statements for listing creation

2017-06-02  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c, cobc.h, parser.y: added context check for OBJECT-COMPUTER
	* parser.y: added missing parts to MEMORY SIZE (parsing only)
	* parser.y: checking of segment values in SEGMENT LIMIT and SECTION,
	  allow segment numbers in declaratives (PENDING)

2017-05-30  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, ppparse.y: removed PAGE_DIRECTIVE (checked in pplex.l,
	  processed in cobc.c)
	* pplex.l: don't skip separator period in directives,
	  combined common parts for directives in a single place,
	  better error handling for directives
	* pplex.l: added MF extension $DISPLAY VCS = version string as PENDING
	* cobc.c: directly pass the source_format to (line_has_page_eject),
	  (line_has_listing_directive) and process it there
	* cobc.c: added (get_first_nonspace, get_directive_start) to correctly
	  process listing related directives

2017-05-30  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, ppparse.y: removed undocumented extension
	  "optional AS in $SET CONSTANT VAR [AS] VAL" - as this is a MF extension
	  MF doesn't allow the AS at all
	* pplex.l, ppparse.y: implemented >> LEAP-SECOND directive (while keeping
	  the ON setting as PENDING)

2017-05-29  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c: adjustments of constant value changes

2017-05-28  Ron Norman <rjn@inglenet.com>

	* field.c, typeck.c: check for misplaced operators in constant expressions

2017-05-26  Ron Norman <rjn@inglenet.com>

	Work on constant values:
	* checks for application 78 versus internal 78 and allow internal 78
	  to get handled
	* add constant-01 and constant-78 compile options

2017-05-25  Simon Sobisch <simonsobisch@gnu.org>

	Work on constant values:
	* parser.y, typeck.c, tree.h: tightened syntax checks for NEXT /
	  START OF as 78 VALUE
	* typeck.c: set correct values for NEXT / START OF as 78 VALUE

2017-05-24  Ron Norman <rjn@inglenet.com>

	Work on constant values:
	* parser.y, typeck.c, tree.h: 78/CONSTANT accepts VALUE expression
	* parser.y, typeck.c, tree.h: implemented NEXT / START OF as 78 VALUE
	* ppparse.y, cobc.c, cobc.h: allow define list to be
	  searched outside of ppparse
	* parser.y, typeck.c: implemented CONSTANT FROM

2017-05-22  Ron Norman <rjn@inglenet.com>

	* codegen.c: create numeric literals with correct attributes
	  COB_FLAG_HAVE_SIGN | COB_FLAG_SIGN_SEPARATE | COB_FLAG_SIGN_LEADING
	  As this is how the literal is coded in the COBOL code.

2017-05-21  Ron Norman <rjn@inglenet.com>

	* parser.y: accept ACUCOBOL SET var TO SIZE OF field, handle as
	  MOVE LENGTH OF field TO var

2017-05-20  Ron Norman <rjn@inglenet.com>

	* codegen.c, tree.c, tree.h, typeck.c, codeoptim.c: Enhancements to
	  handle nested OCCURS DEPENDING ON including -fodoslide

2017-05-18  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_call): for static calls only generate parameters
	  up to the maximum number of the call, otherwise the static calls
	  cannot be resolved at compile time.
	  Note: currently only done for system library calls, we'd need an
	  external repository for doing this with other calls, too.
	* typeck.c (cb_emit_call): warn if more than the max parameters is
	  used for system library calls
	* typeck.c (cb_list_system): output min/max parameters for system
	  library entries

2017-05-15  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: bug #373 - level 78 constants: only allow a single value
	  and no optional ARE
	* parser.y: don't check the warning option for cb_warning[_x] twice

2017-05-14  Ron Norman <rjn@inglenet.com>

	* typeck.c (cb_build_binary_op): use integer arithmetic for compile
	  time configuration instead of (pow)

2017-05-13  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (validate_move): make warning on numeric literals in VALUE
	  clause of numeric-edited items configurable (original patch thanks to
	  David Newall).

2017-05-10  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Added "Too many errors" message to listing.

2017-05-08  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Added code to generate listing when max error count exceeded.

2017-05-07  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (emit_entry): checked RETURNING item for not having
	  REDEFINES clause, use field name instead of cb_name(reference)

2017-05-01  Ron Norman <rjn@inglenet.com>

	* tree.c: improved resolving constant expressions at compile time:
	  now handles cases with decimal constants, too
	* parser.y, typeck.c, tree.h: Implement arithmetic-osvs for conditions;
	  compute intermediate results to precision of variables used in expression

2017-04-30  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, error.c, flag.def: added -fmax-errors / cb_max_errors
	  for early/late aborting depending on number of errors, defaulting
	  to the old value: 100
	* cobc.c: added -W[no-]fatal-errors for aborting on first error
	  note: this option takes precedence over -fmax-errors
	* cobc.c: return 97 for aborts, not 99 as autotest recognizes 99
	  as hard failure and we may want to check for aborts
	* cobc.c: simplified --no-symbols option handling

2017-04-28  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: using builtin rule for bison and cleaned rule for
	  flexx, moved hack for _MSC_VER to ../create_win_dist.sh

2017-04-27  Ron Norman <rjn@inglenet.com>

	* field.c: Specific error messages for ANY NUMERIC

2017-04-27  Sergey Kashyrin <ska@kiska.net>

	* parser.y: Fix for CALL-CONVENTION (was broken)
	* codegen.c: on Windows we need to output entries prototypes
	  with dllexport, otherwise they will not be seen.
	* cobc.c: print_error_for_line cut continuation
	  snprintf returns -1 in MSC and on HPUX if max is reached

2017-04-13  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (print_fields, print_88_values): removed indent parameter as
	  we no longer indent by level number
	* cobc.c: cb_listing_linecount and cb_lines_per_page as unsigned int
	* cobc.c: finished implementation of -Werror

2017-04-22  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (stop_statement): added support for STOP identifier.

2017-04-22  Brian Tiffin <btiffin@gnu.org>

	* error.c, cobc.h, cobc.c, field.c, parser.y, ppparse.y, tree.h,
	  scanner.l, tree.c, pplex.l: cb_warning[_x] change with
	  preference argument, refactor undefined_error to account for new
	  prototype.

2017-04-17  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c (process_translate): reverse program list in place so that
	  current_program doesn't point to last program in file (see bug #265).
	* codegen.c: reinstated local variable current_prog removed in
	  r1309. (codegen) would leave current_program pointing to the last
	  program in a file, from which you cannot get the first program. This
	  caused the listing code to break (bug #265) because it assumed
	  current_program would point to the first program in the file.

2017-04-13  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c: fixed buffer overflows and memory leaks in listing code.
	* cobc.c, pplex.l: refactored listing code: added comments,
	  improved variable names and modularised code.

2017-04-13  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: don't generate DEBUGGING code for empty PERFORMs,
	  fixes #368 (SIGSEGV)
	* cobc.c (cobc_sig_handler): don't ask for bug report on SIGPIPE

2017-04-10  Brian Tiffin <btiffin@gnu.org>

	* codegen.c: remove use of cob_get_prog_pointer.

2017-04-09  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fixed missing initialization for programs without
	  PROCEDURE DIVISION

2017-04-08  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c, codegen.c, pplex.l: fixed buffer overflows and double
	  frees in listing code, SORT of table with OCCURS DEPENDING 0 TO n
	  and when aborting compilation in the lexer.

2017-03-31  Ron Norman <rjn@inglenet.com>

	* parser.y: allow ASCENDING/DESCENING and INDEXED BY to follow OCCURS
	  in any order with -frelax-syntax

2017-03-31  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (cb_emit_set_to): added error when trying to set address of a
	  non-01/77-level linkage item. Also improved error messages.

2017-03-30  Edward Hart <edward.dan.hart@gmail.com>

	* field.c (compute_size): padding for aligned OCCURS items should go
	  after the last item, not the beginning of the group (bug #155).

2017-03-22  Dave Pitts <dpitts@cozx.com>

	* cobc.c, cobc.h: Added Error/Warning summary to listings.
	* error.c: Added filename to error struct for summary.
	* cobc.c: Added code to close and open append the listing file when
	  calling the external cross reference, cobxref.

2017-03-21  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Changed symbol listing indentation and added redefines clause
	  to symbol listing.

2017-03-19  Ron Norman <rjn@inglenet.com>

	* codegen.c: fixed emission of decimal constants to go into  program.c.h

2017-03-19  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: bug #364 moved (output_initialize_chaining) out of
	  (output_initialize_one), special handling for chaining only during
	  program initialization
	* codegen.c (output_internal_function): [bugs:#354] generate code for
	  raising COB_FERROR_CHAINING when CHAINING program is not the
	  main program instead of when it is called the second time

2017-03-19  Dave Pitts <dpitts@cozx.com>

	* cobc.h, pplex.l: Restored copy_tail functionality. The copy books were
	  not being chained for the listing processor.

2017-03-19  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (setup_program_start): moved call to (cb_build_program) to
	  (setup_program), after the PROGRAM-ID has been checked for
	  redefinition (see bug #271).
	* parser.y (file_control_entry): fixed bug #352 by not setting
	  current_file to NULL in invalid SELECT entries.
	* parser.y (file_control_entry): added parser error handler so typos
	  don't define an erroneous SELECT entry.

2017-03-18  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_check_overlapping): return a possible overlap if at least
	  one of the vars can have an assignment of a different address
	* parser.y (end_scope_of_program_name): fix possible access of NULL var
	* typeck.c [_MSC_VER] (cb_check_overlapping): silence wrong warning 6011

2017-03-12  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, error.c: fix minor memory leaks in listing / configuration code
	* field.c: fix mismatching memory allocation in picture handling

2017-03-11  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_call): Fixed #353 to correctly emit parameter for
	  CALL BY CONTENT with an INTRINSIC function

2017-03-05  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fix #362 one-liner not generating by setting entry_convention

2017-02-18  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: do (setup_program_start) early in IDENTIFICATION DIVISION
	  if given, otherwise in PROGRAM ID / FUNCTION ID as we did before

2017-02-06  Ron Norman <rjn@inglenet.com>

	* codegen.c:
	  Emit routines cob_file_external_addr, cob_file_malloc, cob_file_free
	  so that 'cob_file' is allocated within libcob
	  This will allow the structure have fields added to the end
	  without forcing a recompile. COB_FILE_VERSION is unchanged
	  Emit cob_module_free so that structure gets freed within libcob

2017-02-06  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: fixed use of warn_cannot_get_utc while available

2017-02-02  Brian Tiffin <btiffin@gnu.org>

	* cobc.h: Updated CB_PENDING CB_UNFINISHED macros with quieter ONCE_COB

2017-02-02  Brian Tiffin <btiffin@gnu.org>

	* cobc.h, warning.def: test cb_warn_pending in CB_PENDING message macro.

2017-01-30  Ron Norman <rjn@inglenet.com>

	* codegen.c: emit call to pass address of file for dump of
	  specific fields such as FILE STATUS

2017-01-30  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, reserved.c, tree.h: allow EXTERN, STDCALL and STATIC to be
	  disabled by mnemonics by removing (part of) their context flags.

2017-01-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.h: removed CB_CS_PROCEDURE, alphabetical order for CB_CS_...
	* pplex.l, ppparse.y, cobc.h, parser.y, tree.c:
	  implemented CALL-CONVENTION directive
	* parser.y, tree.h: removed cb_entry_convention - stored as
	  call-convention now
	* parser.y, codegen.c: implemented entry-convention for entry points
	  including stdcall generation
	* reserved.c, parser.y: removed WINAPI

2017-01-25  Ron Norman <rjn@inglenet.com>

	* flag.def, cobc.h: new option -fdump=<scope> added (cb_flag_dump)
	* cobc.c: added code to set cb_flag_dump
	* cobc.h: added defines for values
	* codegen.c: added code to emit calls to new trace & dump routines

2017-01-22  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fix bug #271 by raising an error on UDF without PROCEDURE
	  DIVISION and generating a minimal entry when this occurs with a program
	* parser.y: work on SIZE IS for items passed BY VALUE
	* cobc.c (cobc_abort_msg): output "FUNCTION-ID" if we abort in a UDF

2017-01-22  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.h: added CB_CS_OPTIONS.
	* parser.y: added the OPTIONS paragraph, with DEFAULT ROUNDED MODE and
	  ENTRY-CONVENTION implemented.

2017-01-22  Simon Sobisch <simonsobisch@gnu.org>

	FR #194: generate a WinMain() function instead of main
	* flag.def: new cb_flag_winmain / -fwinmain for generating a WinMain()
	  function instead of main when compiling as executable
	* codegen.c (output_standard_includes): generate additional include
	  "windows.h" if cb_flag_winmain is active
	* codegen.c (output_main_function): generate WinMain instead of main
	  if cb_flag_winmain is active

2017-01-20  Brian Tiffin <btiffin@gnu.org>

	* tree.h: add PROCEDURE DIVISION entry convention types
	* cobc.h: add CB_CS_PROCEDURE context test value
	* parser.y: PROCEDURE DIVISION EXTERN support
	* reserved.c: EXTERN, COBOL, WINAPI context sensitive words
	* codegen.c: EXTERN program entry

2017-01-19  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: fixed output of error messages (result of previous change)
	  by adding and using (list_error_reverse)
	* parser.y: reactivate check PROCEDURE DIVISION returning item needs
	  to be in LINKAGE SECTION
	* codegen.c (output_internal_function): only allocate UDF RETURNING items
	  when in LINKAGE SECTION

2017-01-18  Ron Norman <rjn@inglenet.com>

	* field.c: set COB_FLAG_REAL_BINARY to on for COMP-5
	* codegen.c: for numeric literals passed on CALL, COB_FLAG_REAL_BINARY is
	  not set on since the internal field is actually S9(9) COMP-4

2017-01-17  Ron Norman <rjn@inglenet.com>

	* parser.y: fixed coding errors in referencing CB_LITERAL before
	  verifying that the token is a literal in REPORT DIVISION

2017-01-17  Ron Norman <rjn@inglenet.com>

	* codegen.c (output_integer) [COB_NON_ALIGNED]: insert (cob_u8_ptr)
	  before cob_get_pointer (..) for systems not allowing pointer arithmetic
	  on (void*)

2017-01-16  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: some work on program-prototypes,
	  added parsing of COBOL 2002 NESTED phrase for CALL
	* cobc.c, cobc.h, errror.c: removed error_tail and copy_tail
	* cobc.c: fixed SIGSEGV in listing on machines where char is signed
	  and COBOL sources contain characters > 127
	* cobc.c: fixed SIGSEGV in listing when compiling from multiple sources
	  which all show errors

2017-01-15  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h, cobc.h, parser.y: removed unused cb_statement->statement and
	  its assignment from cobc_glob_line which wasn't set at all
	* parser.y (begin_implicit_statement): copy attributes common and name
	  from current_statement when creating an implicit new current_statement

2017-01-14  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (userbp): fixed bug #350 - caused by userbp initialisation not
	  matching current cb_intrinsic_table layout.
	* tree.c (userbp), tree.h: made cb_intrinsic_table pointers const.

2017-01-13  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c [_MSC_VER]: swapped order of parameters for C compiler
	  and linking so that -L options come before -l
	* cobc.c: swapped order of setting and size calculation of compiler/linker
	  options to match the order used for the actual call

2017-01-11  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_name_1): output name for USER FUNCTIONs

2017-01-11  Mário Matos <matosma@users.sf.net>

	* codegen.c (output_entry_function):
	  fixed bug #349 (compatibility for C89 / _MSC_VER < 1800) - moved
	  generation of pointer fields for BY VALUE items before any code

2017-01-10  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: Copyright year 2017

2017-01-10  Ron Norman <rjn@inglenet.com>

	* codegen.c:
	  For CALL statements parameters passed BY VALUE or CONTENT are copied
	  to a temporary variable with the attribute of COB_FLAG_CONSTANT.
	  This is done so that the subroutine will not accidentally try to
	  overwrite these parameter fields.

2017-01-09  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (expr_token): restricted IS to before ZERO/classes/condition
	  words.

2017-01-09  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_build_identifier): corrected minimum check for OCCURS
	* cobc.c: updates for generation of cross reference / symbol listing

2017-01-08  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (print_program_header): print only one page header when -tlines=0
	  is used and removed the " Page 0001" that would always be printed
	* cobc.c: new function print_program_data for output of data to the list
	  file - needed for suppressing empty lines after page header and for
	  correct counting of lines per page
	* cobc.h, cobc.c: moved all listing #define from cobc.h to cobc.c
	* cobc.c, tree.h, tree.c, parser.y: added receiving flag to cb_xref_elem,
	  set it on appropriate places (especially from references)

2017-01-07  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.h: added CB_CS_ALLOCATE
	* reserved.c: set context sensitivity: CAPACITY -> OCCURS,
	  INITIALIZED -> ALLOCATE, OCCURS

2017-01-06  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: always emit an internal move for WRITE/REWRITE if the FROM
	  clause consist of a literal
	* typeck.c (cb_check_overlapping): fixed handling when called with a field
	  instead of with a reference (which is the case for level 88 validation)
	* codegen.c (output_data): added resolve of CB_TAG_FIELD

2017-01-05  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (accept_body): check that PROMPT and SIZE clauses are not set
	  for ACCEPT OMITTED (as these are ignored at run-time)
	* typeck.c (cb_emit_accept): bugfix - extended ACCEPT wasn't used if the
	  only attributes set were: timeout || prompt || size_is
	* cobc.c (cobc_sig_handler): fixed TODO about unused var
	* cobc.c (process)[WIFSIGNALED]: use cob_raise instead of cobc_sig_handler

2017-01-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h: new variable current_compile_time for resolving all
	  compilation dates, set by call to libcob's cob_get_current_date_and_time
	* typeck.c (cb_build_registers): use time from current_compile_time
	  providing a higher precision and is identical to the listing which is
	  requested by COBOL 2002+
	* cobc.c, cobc.h, codegen.h: renamed cb_oc_build_stamp to
	  cb_cobc_build_stamp
	* cobc.c: if -t listing_file is passed multiple times use the last option
	  value instead of the first one
	* cobc.c, cobc.h, tree.c, tree.h, parser.y: numerous changes for generation
	  of internal symbol-table and cross-reference listing - nearly all
	  references are now stored in tree.c (cb_ref), ANY LENGTH/NUMERIC, OCCURS
	  with PICTURE or UNBOUNDED are shown correctly now,
	  references by parent/child only are shown, too

2017-01-02  Brian Tiffin <btiffin@gnu.org>

	* cobc.h: test cb_warn_unfinished in CB_UNFINISHED message macro.

2017-01-02  Ron Norman <rjn@inglenet.com>

	* cobc.c, warning.def:
	  renamed cb_warn_external_val to cb_warn_ignored_initial_val

2016-12-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: changes for -verbose, optional argument for verbose level,
	  -vv output shows information from the compiler, -vvv from linker,
	  -v -help shows help from compiler/linker,
	  -### shows external commands but doesn't execute them
	* cobc.c (cobc_sig_handler): only ask for bug report if the signal isn't
	  a user-requested one
	* codegen.c (codegen): reset pic_cache pointer
	* cobc.c (xref_print): corrected size of numbuf

2016-12-28  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: disabled nested ODO as the current implementation
	  has too many flaws (see re-opened FR #99)

2016-12-27  Ron Norman <rjn@inglenet.com>

	* typeck.c: Added checks for RELATIVE KEY field being
	  integer in WORKING-STORAGE and having no OCCURS

2016-12-27  Simon Sobisch <simonsobisch@gnu.org>

	integrating patch #30 by Frank Swarbrick and make sure it works
	* parser.y: finished OCCURS ... TO UNBOUNDED
	* reserved.c: new token LENGTH_FUNC for BYTE-LENGTH, LENGTH, LENGTH-AN
	* parser.y, tree.h, typeck.c: new var suppress_data_exceptions used with
	  LENGTH_FUNC for suppressing runtime checks for field-allocation
	* typeck.c: passing additional parameters for table name / flag for ODO
	  in generation of cob_check_odo and cob_check_subscript

2016-12-22  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (main): bugs #346 moved compiler specific COB_CFLAGS from
	  to configure to provide transparency and full control to the user

2016-12-22  Edward Hart <edward.dan.hart@gmail.com>

	* scanner.l, pplex.l: suppress unused function warning in clang.

2016-12-22  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: use global current_program instead of local current_prog
	* cobc.c (cobc_abort_msg): part of fixing bug #344
	  distinguish between compilation and final code generation
	* cobc.c: added message for internal compiler errors to report them
	* codegen.c (output_param): part of fixing bug #344
	  check for field reference to prevent SIGSEGV
	* typeck.c (cb_emit_move): fixing bug #344 check that MOVE target is
	  no label or program prototypes
	* tree.c (cb_name): only use as much parsing memory for names as necessary

2016-12-19  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c: stricter syntax checking for WRITE|REWRITE FILE

2016-12-16  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: limit for ACUCOBOL literals: UINT_MAX
	* tree.c: check for LLONG_MAX and define it if it is defined as
	  LONG_LONG_MAX / _I64_MAX
	* parser.y, reserved.c: added ACUCOBOL line sequential
	  device names for ASSIGN

2016-12-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c, tree.h: FR#182 added ADD|SUBTRACT TABLE as pending

2016-12-08  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (cobc_print_info): output exact C compiler which was used
	  to build cobc and if GMP/MPIR header was used

2016-12-06  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_filename) [_WIN32]: check extension .asm along to .s
	* cobc.c (process_compile) [!_MSC_VER]: use COB_PIC_FLAGS when compiling
	  to a module, surround the translation name by quotes

2016-11-30  Ron Norman <rjn@inglenet.com>

	* parser.y, typeck.c: FR #170 implement WRITE|REWRITE FILE filename

2016-11-22  Dave Pitts <dpitts@cozx.com>

	* cobc.c (print_program_code): Free replace text. Realloc replace text
	  instead of memcpy of source.
	* pplex.l (ppopen): Only strdup filename if NULL.

2016-11-21  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c, parser.y: fixing tree cast errors (found by COB_TREE_DEBUG)
	* cobc.c (print_88_values, get_next_listing_line): fix SIGSEGV for uncommon
	  long names / lines
	* cobc.c: fix minor memory leaks in listing code
	* pplex.l, cobc.h: commented copy_tail as it doesn't seem to be used

2016-11-19  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, reserved.c, etc.: added complete recognition of all
	  COMMUNICATION SECTION syntax.
	* config.def: added use-for-debugging config option.

2016-11-07  Ron Norman <rjn@inglenet.com>

	* typeck.c, cobc.c, config.def: added code for 'move-ibm' option which does
	  MOVE same as IBM MVC instruction

2016-11-16  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_call_cache): fix bug #341 added generation of macro
	  check in C function declarations for static CALLs

2016-11-14  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_trim_program_id): change warning message for remove of
	  spaces in program-id to be more specific and don't warn embedded spaces

2016-11-13  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c (cb_trim_program_id), tree.h: added code to warn
	  if SPACES are used in a PROGRAM-ID or CALL 'literal' plus the SPACES
	  are removed

2016-11-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fixed extended_with_lock by differentiating between WITH
	  LOCK / NO LOCK / KEPT LOCK
	* typeck.c (cb_emit_read): set read_opts COB_READ_LOCK and
	  COB_READ_KEPT_LOCK for I/O statements with KEPT LOCK

2016-11-11  Dave Pitts <dpitts@cozx.com>

	* cobc.c, cobc.h: Multiple changes to support 5 digit variable size and
	  cross reference changes.

2016-11-10  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h: added cb_field->validation (First level 88 field, if any)
	* field.c (cb_build_field_tree): add validation entry and sisters
	* cobc.c (print_88_values, xref_88_values): use new validation entries
	  instead of checking all word references against the field
	  (huge! time saver and correct order)

2016-11-09  Dave Pitts <dpitts@cozx.com>

	* cobc.c, cobc.h, parser.y, tree.h, typeck.c: Added internal cross
	  reference support.

2016-11-07  Jim Rinn <jimrinn1@gmail.com>

	* parser.y (lock_mode): OR-ing SELECT settings into file->lock_mode as they
	  would override COB_LOCK_MULTIPLE (set in _lock_with) otherwise

2016-11-07  Dave Pitts <dpitts@cozx.com>

	* cobc.c (print_88_values): Added to print 88 level values.
	(print_fields): call print_88_values for a variable.

2016-11-06  Simon Sobisch <simonsobisch@gnu.org>

	* cobc/cobc.c (print_program_header): changed the version string limit
	  (including patch level) to 14 digits

2016-11-04  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y (terminator_warning, terminator_error, terminator_clear):
	  COBC_ABORT for invalid calls, warn/error with current_statement and
	  only free stmt when it is valid (currently isn't the case when an alias
	  for a statement is used)

2016-11-03  Simon Sobisch <simonsobisch@gnu.org>

	* config.c (read_string): fixing changes to pointer generated by
	  cobc_main_malloc (needs to stay for later cobc_main_free)
	* error.c, cobc.h: defined own error procedure flex_fatal_error for
	  running cobc's internal error procedures (including showing the
	  current source/line of both the processed COBOL and the generated
	  flex source) instead of a simple error exit
	* pplex.l, scanner.l [__GNUC__]: added pragma to ignore unused
	  functions there as flex generates unused ones
	* Makefile.am: change to auto-edit of files generated by flex

2016-11-02  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l (ppinput): fixed comment paragraphs being rejected in free
	  format (see bug #297).
	* reserved.c (try_remove_removal): stopped freed memory being read.

2016-11-02  Dave Pitts <dpitts@cozx.com>

	* cobc.c (main): Change calls from free() to cobc_free().

2016-11-01  Dave Pitts <dpitts@cozx.com>

	* cobc.c (print_program_code): Scan for "#line " and set line number.
	* pplex.l (ppcopy): Restore old list file and emit "#line..." on error.

2016-10-31  Dave Pitts <dpitts@cozx.com>

	* cobc.c (cobc_terminate): Added calls to print header/trailer.

2016-10-31  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: renamed COB_MAX_FIELD_PARAMS to MAX_CALL_FIELD_PARAMS
	* parser.y: bug #110 fix LENGTH OF not working in some places
	* codegen.c: bug #314 (output_search_all): SEARCH ALL with ODO zero
	  did not exit early

2016-10-30  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: added cb_unix_lf to enable possible output of generated files
	  with unix lf (especially for listing files and testsuite)
	* codegen.c (output_entry_function): don't generate "return" for
	  void functions
	* parser.y, reserved.c, cobc.h: added part of COMMUNICATION SECTION
	  syntax for being able to check this in NIST

2016-10-29  Dave Pitts <dpitts@cozx.com>

	* cobc.c (print_program_header): Changed to allow for 9 character
	  version field (eg. VV.RR.PPP).

2016-10-28  Dave Pitts <dpitts@cozx.com>

	* cobc.h: Moved CB_LIST_PICSIZE here and increased length to 80.
	* cobc.c (set_picure): Added picture_len argument and reorganized.
	* cobc.c (print_fields): Added picture_len argument set to width of
	  listing.

2016-10-27  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_run): use COB_EXEEXT for systems that need it
	* parser.y: added "local_" prefix for function parameters that used
	  identical names as static vars

2016-10-26  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: fixed checks of overlapping MOVE and don't raise warnings for
	  items in occurs as the check for this was borked
	* warning.def, typeck.c: added new CB_NOWARNDEF -Wpossible-overlap for
	  items that only *may* overlap (-Woverlap only warns if overlap is sure)

2016-10-25  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c. cobc.h: moved multiple #undef of internal used macros to cobc.h
	* config.def: feature-request #173 added reference-out-of-declaratives
	* typeck.c (cb_validate_program_body): use cb_reference_out_of_declaratives
	* cobc.c (process_command_line): make sure cb_reference_out_of_declaratives
	  is not stricter than CB_WARNING when cb_relaxed_syntax_checks is active

2016-10-23  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h, tree.c, typeck.c, parser.y: fixed missing type changes
	  from int to cob_flags_t for functions using disp_attrs

2016-10-23  Edward Hart <edward.dan.hart@gmail.com>

	* scanner.l: Fixed bug introduced in r1116 which broke lowercase comment
	  paragraphs.

2016-10-22  Dave Pitts <dpitts@cozx.com>

	* cobc.c: added --no-symbols for symbol table listing

2016-10-18  Dave Pitts <dpitts@cozx.com>

	* cobc.c (print_fixed_line): fixed SOURCEFORMAT VARIABLE bug

2016-10-17  Edward Hart <edward.dan.hart@gmail.com>

	* scanner.l (RETURN): renamed to RETURN_TOK (see bug #330)

2016-10-16  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_list_system): simplified, removed hard-coded values
	* cobc.c: listing: allow page break to be disabled with -tlines=0

2016-10-15  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: improved checks for duplicate/conflicting clauses in ACCEPT
	  and DISPLAY statements (finished Edwards changes from 2016-10-02)

2016-10-13  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: fixed missing initialization of static_call_cache
	* flags.def, cobc.c: added CB_FLAG_ON for compiler flags that are
	  active by default
	* flags.def, codegen.c: added new cb_flag_c_decl_for_static_call as
	  CB_FLAG_ON, to create the option for disabling the auto-generation
	  of C function declarations for static CALLs

2016-10-12  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: refactored handling of occurs to (setup_occurs) and
	 (setup_occurs_min_max)
	* parser.y (setup_occurs): check for TO without DEPENDING (allow for
	  relaxed syntax)
	* cobc.c (print_fields): print fixed size OCCURS without TO phrase
	* ppparse.y (set_choice): fixed bug #328 SIGSEGV for SET SOURCEFORMAT
	  directive without active listing
	* parser.y (mnemonic_name_clause): fixed buffer overflow on long
	  (unknown) system names

2016-10-11  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Added OCCURS <minimum> TO <maximum> to print_fields() and
	  corrected length printout.
	  Also added "-R" to TYPE field for REDEFINES.

2016-10-08  Edward Hart <edward.dan.hart@gmail.com>

	* config.c: let reserved and not-reserved accept comma-separated lists

2016-10-13  Ron Norman <rjn@inglenet.com>

	* typeck.c, config.def: added code for 'arithmetic-osvs' option
	  which computes intermediate results similar to IBM OSVS & MVS

2016-10-02  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: improved checks for duplicate/conflicting clauses in ACCEPT
	  and DISPLAY statements
	* codegen.c, parser.y, tree.h: introduced cob_flags_t typedef for
	  variables made up of bit flags
	* parser.y: improved function names
	* parser.y: improved support for ACUCOBOL screen phrases
	* config.def: added no-echo-means-secure config option

2016-09-28  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: use at least one tab for spacing between option and text in help
	* config.c: check range (defined in config.def) for all integer flags

2016-09-27  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_build_picture), config.def: feature-request #173
	  compiler configuration pic-length for number of characters
	  in PICTURE clause
	* config.c: check range (defined in config.def) for all integer flags

2016-09-25  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: fix bug #316 static linking with stdcall was broken
	  * new struct static_call_list (including convention and
	    return-type), removing return-type from call_list
	  * store call-convention and generate __stdcall modifiers if requested
	* codegen.c (call_list_reverse, static_call_list_reverse): added for
	  keeping the generated variables in the same order it has in COBOL,
	  called in (codegen)

2016-09-24  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: changed reserved and no-reserved options to generate
	  amendments to the reserved word list so that specify-all-reserved can
	  be examined at the end of configuration processing (allowing it to be
	  unset after being set).
	* cobc.c: removed -R/-reserve-all option.

2016-09-21  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: added RETRY and ADVANCING ON LOCK as pending features.
	* parser.y, reserved.c: made FOREVER context-sensitive.
	* reserved.c (default_reserved_words): corrected year of standard from
	  2008 to 2014.
	* reserved.c (lookup_reserved_word): changed to allow context-sensitive
	  words to be activated by different words.

2016-09-19  Ron Norman <rjn@inglenet.com>

	* codegen.c, tree.c, tree.h:  added code to optimize handling of
	  'decimal constants' in expressions

2016-09-18  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_validate_program_data): moved check for record depending
	  to (validate_record_depending) and activated storage check - relax-syntax
	  can be used to compile legacy programs

2016-09-16  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (finalize_file): bug #278 move key field checks
	  to (validate_key_field) and verify that variable record size
	  is at least large enough to hold the keys

2016-09-16  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (cb_build_move_literal): fixed bug #69 by forcing a call to
	  cob_move when binary-truncate is in effect.

2016-09-15  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l (ppinput): fixed bug #297 where quote marks were parsed in
	  comment paragraphs.
	* error.c, cobc.h: added (cb_plex_verify).

2016-09-12  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (accept_clause): added ACCEPT ... BEFORE TIME extension.

2016-09-11  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppinput): bug #312 don't ignore directives starting with $
	  at column 7 when in fixed format (if acucomment doesn't apply)

2016-09-11  Edward Hart <edward.dan.hart@gmail.com>

	* ppparse.y, cobc.c: simplified implementation of variable format by
	  treating it as fixed-format with the program-text area ending at
	  column 250.

2016-09-06  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Rearranged pline allocation and added some checks.
	  Added pline_check_limit() function.

2016-09-06  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Changed the pline array to an array of pointers.
	  The lines are allocated and the allocation limits are checked.
	  If the the CB_READ_AHEAD is exceeded an abort is issued.
	* cobc.h: Increase CB_READ_AHEAD to 800.

2016-09-05  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c, cobc.h: delete references to cobc_init_scanner, which was
	  deleted in [r1100].

2016-09-04  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c, scanner.l: replaced code parsing constant-names in PICTURE
	  strings with new implementation containing more checks.

2016-09-03  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l, ppparse.y, cobc.c: added support for Micro Focus' variable
	  format.
	* cobc.h: moved CB_FORMAT defines into new cb_format enum.

2016-09-03  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_concat_literals): allow concatenation of national and
	  Boolean literals

2016-09-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.h: added CB_UNFINISHED as replacement for CB_PENDING for code that
	  compiles and "works somehow" (not necessarily according to specs)
	* cobc.c, cobc.h, warning.def: CB_ONWARNDEF for warnings that default to on
	* cobc.c. cobc.h, warning.def: new warning option "unfinished"
	  (defaults to on) - don't warn if unfinished features are used
	* tree.c, parser.y: marking "USAGE NATIONAL" and
	  "parameters passed by VALUE" as UNFINISHED instead of PENDING
	* parser.y: added more checks and pending messages to CURRENCY SIGN with
	  and without PICTURE SYMBOL

2016-09-02  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c (codegen, output_entry_function): modularised and shortened
	  code.

2016-09-01  Edward Hart <edward.dan.hart@gmail.com>

	* field.c (validate_field_1), parser.y (sign_clause): fixed bug #305 by
	  adding checks that elementary item with SIGN has S in PIC and is USAGE
	  DISPLAY or NATIONAL.
	* tree.h (cb_usage): deleted unused CB_USAGE_PROGRAM.
	* cobc.c: refactored (set_picture) and improved some function names.
	* field.c (validate_field_1): refactored SIGN and BLANK ZERO checks.
	* field.c: fixed bug #310 by adding cb_get_usage_string.

2016-08-31  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c (cobc_check_valid_name): refactored to take enum parameters
	  instead of magic numbers.
	* parser.y (print_bits): improved style.
	* tree.c (cb_build_picture): added warning message to PIC N.

2016-08-30  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: added premature implementation of national-literals,
	  hexadecimal-national-literals, hexadecimal-boolean-literals
	* tree.c, tree.h: new function cb_build_national_literal
	* tree.c (cb_concat_literals): allow concatenation of national and
	  boolean literals within the same category

2016-08-28  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: added hint to change dialect if a known system device
	  is used which is not reserved in current dialect

2016-08-25  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, scanner.l, tree.h: fixed bug #305, where the
	  error_stmt_recover token was consumed when it was needed to resume
	  normal parsing.

2016-08-20  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_interal_function): deactivated storing module call
	  parameters after module entry
	* codegen.c: generating a local cob_call_params and using it for all
	  parameter checks
	* codegen.c (output_entry_function): don't generate a call to
	  cob_get_global_ptr() without checking that the runtime is initialized

2016-08-20  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (identifier): added check that identifier references a field.
	* parser.y: added checks that INSPECT and TRANSFORM have USAGE DISPLAY
	  operands.
	* parser.y, scanner.l: split class-names into separate token from WORD,
	  as they can only be referenced in class conditions.
	* scanner.l: improved style.
	* typeck.c: refactored checking of INSPECT/TRANSFORM targets.

2016-08-16  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c (emit_screen_displays): fixed bug introduced in the previous
	  commit where invalid MOVEs were generated (see discussion [eed1ec4a]).

2016-08-15  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, typeck.c: fixed bug #299 (cannot have multiple screens in
	  one DISPLAY).

2016-08-13  Frank Swarbrick <infocat@@users.sf.net>

	patch #30 adding IBM extension OCCURS ... TO UNBOUNDED
	* tree.h:  new field flag_unbounded for OCCURS ... TO UNBOUNDED
	* cobc.h: added CB_CS_OCCURS
	* reserved.c: added UNBOUNDED as context sensitive reserved word for OCCURS
	* parser.y: added token UNBOUNDED and first attemt for adding
	  OCCURS ... TO UNBOUNDED in the parser

2016-08-13  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, reserved.c: temporarily added new command line option
	  -R, -reserve-all for unsetting specify-all-reserved in compiler conf;
	  FIXME: should be possible with -fno-specify-all-reserved-words

2016-08-12  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c (is_invalid_word): new function for checking the words,
	  currently only checks user defined words to be < COB_MAX_WORDLEN
	* reserved.c: don't compare/print indicators and alias as part of the words
	* config.c (cb_config_entry): reserved words handling - remove whitespace
	  and translate : to =
	* cobc, config.c: set output name for -f<tag>=<value> in cobc.c instead
	  in multiple functions in config.c and show the complete parameter

2016-08-11  Simon Sobisch <simonsobisch@gnu.org>

	* config.def: renamed compiler configuration relaxed-syntax-check to
	  relax-syntax-checks for supporting the removed -frelax-syntax when set
	  on command line
	* general: renamed cb_relaxed_syntax_check to cb_relaxed_syntax_checks

2016-08-10  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c: use printf to do formatting instead of tabs
	* cobc.c: added option --brief (-q) to reset -verbose and
	  remove the path to cobc in argv[0]
	* cobc.c, cobc.h: better help for compiler flags
	* flag.def, cobc.c, cobc.h: added more parameters in flag.def for better
	  help output; changed defines for CB_FLAG_RQ and CB_FLAG_NQ
	* Makefile.am: add config.def as prerequisite for manpage

2016-08-09  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, typeck.c, codegen.c: added support for program-prototypes in
	  REPOSITORY and CALL and CANCEL statements.
	* tree.h (cb_func_prototype): renamed to cb_prototype.
	* condig.def: added program-name-redefinition (thus fixing bug #268) and
	  program-prototypes.

2016-08-08  Simon Sobisch <simonsobisch@gnu.org>

	* error.c, tree.h, typeck.c, parser.y: suppress listing output and
	  counting of warnings/errors with the new functions
	  listprint_suppress/listprint_restore
	* cobc.c (print_program_trailer): correct grammar for 1 error/warning


2016-08-08  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (x): fixed bug #209, where invalid mnemonic message had line
	  number of mnemonic entry in SPECIAL-NAMES.

2016-08-05  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: don't stop if preprocessing errors but activate
	  cb_flag_syntax_only and let the parser do further checks
	* cobc.c: initialize errorcount only for each source file instead
	  of for each processing stage
	* pplex.l (ppinput): don't fake EOF on buffer overrun for
	  continuation lines (still process all following lines)
	* cobc.c, pplex.l: only do listing specific parts if vars
	  cb_src_list_file/cb_current_file are set
	* cobc.c: moved code for listing titles to own functions
	  (set_listing_title_code) and (set_listing_title_symbols)
	* cobc.c (terminate_str_at_first_of_char): changed to terminate at
	  passed char instead of '\n'

2016-08-04  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c (initialize_type): renamed to deduce_initialize_type.
	* codegen.c (deduce_initialize_type): fixed bug #287, where reference-
	  modified group item was not treated as an elementary item.

2016-08-04  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_command_line): save conf_ret via |= instead of extra var

2016-08-03  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Redo listings when copybooks are missing. Changed replace
	  string positioning in free format listings.
	* cobc.h: Add list file source format field.
	* pplex.l, ppparse.y: Record source format in the list file struct.

2016-08-03  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (read_literal): Fix SIGSEGV for uncommon literals - bug 195
	* cobc.c, cobc.h: changes to listfile generation: start use of compiler
	  configurations (cb_tab_width, cb_text_col)

2016-08-02  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Fixes to put file not found into the listing file. Also,
	  changes to list the "file.i" preprocessed file.

2016-08-02  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (set_picture): fixed SIGSEGV on processing invalid
	  picture definitions, print "INVALID" as picture instead
	* error.c (print_error): fixed SIGSEGVs for empty prefix and
	  missing source files
	* parser.y: bug #259 - better checks for STRING syntax

2016-08-01  Dave Pitts <dpitts@cozx.com>

	* cobc.c, error.c, pplex.l: Changes to change fixed sized character
	  arrays to pointers. Allocate strings based on length.
	* cobc.h: Moved structure declatations and added comments.

2016-08-01  Simon Sobisch <simonsobisch@gnu.org>

	* error.c, cobc.h (cb_get_strerror): own reentrant version of strerror
	* error.c: extracted (configuration_error_head) from (configuration_error)
	* error.c: adjusted (cb_perror) to receive a formatted message
	* adjusted callers of (cb_perror)

2016-08-01  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (renames_entry): fixed bug #289 where PICTURE of renamed
	  field was not copied to the RENAMES item.

2016-07-31  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: FR #127 extracted (cobc_abort_msg) from (cobc_abort_terminate)
	  and using it in (cobc_sig_handler), too
	* cobc.c: minimized (cob_reg_sighnd) and register libcob's signal handler
	  instead of self-registering one

2016-07-31  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (program_type_clause): marked EXTERNAL as pending.

2016-07-30  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (return_at_end): allow NOT AT END before AT END (bugs #242).

2016-07-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h, tree.c, typeck.c: removed COBC_DUMP_ABORT as it did not
	  work as intended (fixing compiler warnings because of return not reached)
	* pplex.l, scanner.l: removed standard C headers already included by flex
	* error.c: removed inline attribute from (cb_verify), (cb_verify_x) and
	  removed extra function (cb_verify_common)

2016-07-27  Simon Sobisch <simonsobisch@gnu.org>

	* error.c, cobc.h: new function cb_perror for returning system errors
	* error.c (print_error): changes for cb_perror
	* cobc.c (cobc_terminate), config.c (cb_load_conf_file), pplex.l (ppcopy):
	  use cb_perror instead of output of a guessed error message

2016-07-27  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, scanner.l: separated 66-, 78- and 88-level handling from
	  data_description, making it impossible to specify improper clauses.
	* field.c: removed code made redundant by the above change.
	* field.c, tree.h (cb_validate_renames_item): strengthened 66-level
	  syntax checks.
	* config.def: added renames-uncommon-levels config option (for MF
	  extension).
	* pplex.l: reverted gobbling of redundant periods after COPY/REPLACE
	  (bugs #283).

2016-07-24  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Additional picture information. TYPE field additions/changes.

2016-07-18  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Added symbol listing support for LINKAGE and SCREEN sections.
	  Added function support in print_program_trailer.
	* pplex.l, cobc.c, tree.c: Fixed compile warnings.

2016-07-18  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (screen_or_device_display): changed permitted DISPLAY
	  combinations (to follow Micro Focus). Now screens must have their own,
	  individual displays and cannot be mixed with the display of
	  non-screens on CRT. CRT and non-CRT displays can no longer be mixed.
	* parser.y, typeck.c: added support for LINE/COLUMN/AT 0 and removed
	  requirement of LINE/COLUMN clause on CRT displays.
	* config.def: added accept-display-extensions to enable/disable
	  the above and any other non-standard extensions.
	* config.def: added console-is-crt to set the default DISPLAY/ACCEPT
	  device to CRT (for ACUCOBOL).
	* parser.y (accept_statement): fixed bug where context-sensitive words
	  were not detected.

2016-07-17  Brian Tiffin <btiffin@gnu.org>

	* codegen.c: when emitting source for a function entry, if cob_call_params
	  is zero, and cob_module is not set, set cob_call_params to the number of
	  arguments in GnuCOBOL using_list. Need to document that C can't call a
	  GnuCOBOL function with zero arguments if GnuCOBOL expects at least one,
	  even if all are optional from the GnuCOBOL perspective.  Except for that
	  edge case, this fixes bug #208 (and possibly others).
	* codegen.c: allow for ENTRY lookup inside main module.

2016-07-15  Edward Hart <edward.dan.hart@gmail.com>

	* scanner.l, pplex.l: fixed bug #269. GnuCOBOL now gobbles redundant
	  periods, instead of releasing them to the parser.

2016-07-15  Brian Tiffin <btiffin@gnu.org>

	* codegen.c: correction to exception code tested for ACCEPT ON EXCEPTION

2016-07-10  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, scanner.l, tree.h: fixed bug #270 by only returning
	  PROGRAM_NAME's from scanner inside the identification division.

2016-07-06  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: fixed bug #264, where fields of category CB_CATEGORY_UNKNOWN
	  were rejected in the AT clause despite being numeric (or having only
	  numeric children).
	* typeck.c (valid_screen_pos): removed extension to AT clause where less
	  than 4 digits was permitted (I'd added this because I thought leading
	  zeroes were truncated from literals).

2016-06-30  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l (is_condition_directive_clause): fixed bug #263 where >>IF's
	  where not detected inside false >>IF's.

2016-06-29  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c, cobc.h: Added comments to functions, improved names where possible and
	  fixed style issues (see below).
	* cobc.c (print_replace_main): Made cb_inreplace a static variable
	  in_replace. Also split code into new functions free_replace_list and
	  copy_list_replace.

2016-06-28  Dave Pitts <dpitts@cozx.com>

	* cobc.c: Fixed mystery edits that broke FILE and FILLER listing.

2016-06-27  Edward Hart <edward.dan.hart@gmail.com>

	* field.c (validate_field_1): fixed bug #260, where + or - in PIC was
	  mistaken for S.

2016-06-26  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (codegen): renamed parameter nested to subsequent_call
	  removing the confusing title (for nested check nested_level)

2016-06-26  Dave Pitts <dpitts@cozx.com>

	* cobc.c, cobc.h, pplex.l, ppparse.y: Added LISTING ON/OFF directive.

2016-06-26  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c: lengthened variable names, fixed style issues (see below, also
	  replacing while loops with for where appropriate) and simplified and
	  modularised code.

2016-06-25  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l: fixed bug #248, where any directive was evaluated inside the
	  false part of a conditional directive. Restricted this to ELSE,
	  END(-IF), WHEN, etc.
	* cobc.c, error.c: fixed style issues: non_snake_case variable names,
	  non-K&R or missing braces, no space before parentheses or around + or
	  -, spaces instead of tabs, variable declarations without names
	  indented and more than one declaration per line.
	* cobc.c (print_program_code): fixed corrupt doubled-linked list error
	  caused when cb_listing_files and cb_current_file pointed to the same
	  struct and cb_current_file was freed.
	* pplex.l: moved COPY-specific code to get_new_listing_file and added
	  call to it from INCLUDE.
	* cobc.h, parser.y, pplex.l, ppparse.y: moved PENDING macro to cobc.h as
	  CB_PENDING.

2016-06-22  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, error.c: added hints to change dialect if an undefined word
	  is used which is reserved in another dialect (see Wish List #107).
	* parser.y (_identification_header): reinstate ID DIVISION option.
	* parser.y (setup_program): fixed bug #255, where function could be
	  defined within a program.

2016-06-21  Ron Norman <rjn@inglenet.com>

	* error.c (print_error): fixed to verify 'file' is NOT NULL before using it
	* cobc.c: FR #138 added checks for some env vars which are not allowed to
	  have PATHSEP_CHAR in them

2016-06-20  Dave Pitts <dpitts@cozx.com>

	* cobc.c, cobc.h, error.c, pplex.l, ppparse.y: Added support for compiler
	  listings.

2016-06-20  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_internal_function): fixing bug #234 segfault by
	  generating code for setting not passed parameter pointers to NULL as if
	  they would have been passed as OMITTED, allowing (cob_is_omitted) to work

2016-06-18  Simon Sobisch <simonsobisch@gnu.org>

	* ppparse.def: Added compiler constants GNUCOBOL (alias for OPENCOBOL)
	  and GCCOMP (alias for OCCOMP)

2016-06-15  Brian Tiffin <btiffin@gnu.org>

	* cobc.c: Added optional arguments for -j job submits and -job alias

2016-06-14  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (default_reserved_words): moved uncommon, non-standard
	  aliases (e.g., AUTOTERMINATE for AUTO) to config files.
	* parser.y: renamed TIMEOUT token to TIME-OUT.

2016-06-13  Wim Niemans <niemans@nlbox.com>

	* parser.y, reserved.c, typeck.c, tree.h: added ACUCOBOL CGI extension
	  EXTERNAL-FORM / IDENTIFIED BY as DATA DIVISION clauses processed in
	  handling of DISPLAY / ACCEPT statements

2016-06-13  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l (ppinput): FR #126 treat invalid indicator (free format) as
	  line comment instead of aborting compilation
	* typeck.c (cb_validate_program_environment): FR #67 output duplicate values
	  in errornous alphabet-names at correct error position

2016-06-12  Simon Sobisch <simonsobisch@gnu.org>

	* general: revised all message strings
	* cobc.h: changed PENDING to not use apostrophe

2016-06-12  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (cb_build_picture): fixed bug where PIC SS9 was not detected as
	  invalid. (See bug #40.) Also improved error messages.
	* parser.y (check_preceding_tallying_phrases): fixed bug where
	  consecutive FOR phrases were allowed.

2016-06-08  Simon Sobisch <simonsobisch@gnu.org>

	* general: renamed (cobc_abort_pr) to (cobc_err_msg),
	  revised message strings for exceptional/fatal errors

2016-06-03  Edward Hart <edward.dan.hart@gmail.com>

	* config.def, parser.y: added not-exception-before-exception
	  configuration option (see bug #242).
	* parser.y (program_id_paragraph), tree.c: fixed bug #244 and allow
	  INITIAL or RECURSIVE before COMMON.

2016-06-02  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (display_atom): fixed bug #243, which was caused by a
	  begin_implicit_statement causing exceptions to be set to off before
	  checking which exception handler to go to.
	* codegen.c: fixed another cause of bug #243, where only EC-IMP-DISPLAY
	  (and not EC-SCREEN) triggered the ON EXCEPTION phrase. As part of
	  this, refactored the handling of exception handlers.
	* tree.h (cb_statement): renamed handler1 and handler2 to ex_handler and
	  not_ex_handler, respectively.

2016-06-01  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #242 and allowed exception handlers to be in any
	  order.

2016-05-31  Brian Tiffin <btiffin@gnu.org>

	* typeck.c: fix bug #235 ADD/SUBTRACT CORRESPONDING only for NUMERIC items.

2016-05-31  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #47 - tightened INSPECT syntax rules.

2016-05-22  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c, field.c, codegen.c: replaced PICTURE strings containing packed ints with
	  array of (cob_pic_symbol) structs which are easier to use.
	* codegen.c (codegen): split large chunks of code in separate functions.

2016-05-21  Brian Tiffin <btiffin@gnu.org>

	* codegen.c: improving CALL BY VALUE. One step of many, more to do.

2016-05-20  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c: fixed bug #232, tightening permitted PICTURE strings and
	  improving error messages.
	* field.c: improved error checking for BLANK WHEN ZERO with invalid
	  PICs.

2016-05-16  Brian Tiffin <btiffin@gnu.org>

	* codeoptim.c: bug #229, missed patching cob_cmp_align_u64.

2016-05-15  Brian Tiffin <btiffin@gnu.org>

	* cobc.c: correct process_run return code for systems with WEXITSTATUS

2016-05-05  Simon 'sf-mensch/human' Sobisch <sf-mensch@users.sf.net>

	* tree.c: give correct error position (cb_source_file + cb_exp_line)
	  for expression warnings (did not work with constants before)

2016-05-03  Simon 'sf-mensch/human' Sobisch <sf-mensch@users.sf.net>

	* warning.def, tree.c: added cb_warn_constant_expr for warnings added
	  by Ron Norman on 2016-05-01
	* tree.c: resolve the value at compile time if literal size differs
	  and checks are for = or !=

2016-05-01  Ron Norman <rjn@inglenet.com>

	* tree.c: for binary (arithmetic & relational) operations between integer constants
	  resolve the value at compile time and reduce the expression down to the
	  computed value
	* tree.c Also, added checks to validate resolving contant expressions

2016-04-24  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: implement STOP RUN integer/identifier (RM/COBOL extension)
	* parser.y, pparse.y: remove printf non literal spec warning.

2016-04-24  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, tree.c: fixed bug #231: tightened handling of alphabet-names
	  and recording-modes. Also added FOR clause syntax to CODE-SET clause.

2016-04-23  Brian Tiffin <btiffin@gnu.org>

	* typeck.c: 64bit signed constant did not allow max negative.

2016-04-23  Brian Tiffin <btiffin@gnu.org>

	* typeck.c: 64bit unsigned treated as signed when long int
	  same size as long long.
	* tree.h: realign some tabs.
	* codegen.c, error.c, pplex.l, scanner.l, tree.c, typeck.c: remove printf
	  non literal spec warning.

2016-04-23  Brian Tiffin <btiffin@gnu.org>

	* codeoptim.c: Bug #229: binary-double unsigned compares failed when high
	  bit set.

2016-04-22  Ron Norman <rjn@inglenet.com>

	* parser.y, scanner.l, reserved.c, codegen.c: support features of an
     IBM REPORT WRITER - LINE LIMIT, PRESENT AFTER & ABSENT AFTER

2016-04-17  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (screen_description): fixed bug #227: code now handles case
	  where no screen precedes a 78-level item.
	* parser.y (undefined_word): Added error case to improve error handling.
	  This required a slight change to file_control_entry.

2016-04-15  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #224: disallow configuration section elements in
	  any order.
	* scanner.l, parser.y: moved handling of IDENTIFICATION DIVISION header
	  to parser.y.
	* parser.y: disallow functions without END FUNCTION.
	* parser.y: allow nested programs to omit END PROGRAM, per standard.
	* parser.y: emit error if nested programs are defined in a program
	  without a PROCEDURE DIVISION header.
	* parser.y: refactored grammar of source_element and program_body.
	* parser.y: renamed all optional tokens to be begin with underscore for
	  consistency.

2016-03-29  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c (find_func_ext_name): moved missing prototype/function check
	  to tree.c, to be done when REPOSITORY entry is given.
	* tree.h (cb_func_prototype): removed now redundant check_needed flag.
	* warning.def: added prototype warning flag for above.
	* parser.y, tree.h, typeck.c: added SET LAST EXCEPTION TO OFF.

2016-03-27  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c (find_func_ext_name), tree.h: corrected AS clause of
	  REPOSITORY FUNCTION phrase: actually gives function (prototype)
	  external name, not actual function-(prototype-)name. This fixed bug
	  #124.
	* parser.y: allow redundant FUNCTION clauses.
	* tree.c (cb_build_func_prototype): set check_needed to 0 when ext_name
	  is given.

2016-03-26  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c (find_func_ext_name), tree.h: created to find external name
	  of functions from a given prototype. Also created struct
	  (cb_func_prototype).
	* tree.c (cb_build_repo_func_prototype): dropped repo_ from name.
	* parser.y, tree.c (cb_build_func_prototype): made FUNCTION-ID
	  generate implicit REPOSITORY entry to permit recursion.
	* scanner.l: moved code for finding program based on program-name to
	  separate function (cb_find_defined_program).
	* typeck.c: stopped function-names being converted to upper-case.

2016-03-25  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, scanner.l, tree.c, tree.h, typeck.c: added checks for
	  redefinition of program and function-prototype names. (See bugs #212
	  and #205).
	* parser.y: moved duplicated PROGRAM/FUNCTION-ID and END PROGRAM/
	  FUNCTION code into functions.

2016-03-23  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: added check that BY VALUE formal parameters are not ANY
	  LENGTH (see bug #219).

2016-03-19  Brian Tiffin <btiffin@gnu.org>

	* codegen.c, reserved.c, parser.y, tree.h: Allow for
	  PROCEDURE DIVISION RETURNING OMITTED and CALL ... RETURNING NOTHING

2016-03-18  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c, config.c, cobc.h: added ability to specify aliases for
	  default reserved words (Wish List #112).

2016-03-09  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c, cobc.h: enhanced reserved conf. option to allow
	  specification of context-sensitive words.

2016-03-05  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: disabled formal BY VALUE parameters, pending fix of bug
	  #109.

2016-02-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process_command_line): Fix missing memory release for cobc -V,
	  let --list-reserved work together with other --list-options again

2016-02-28  Edward Hart <edward.dan.hart@gmail.com>

	* config.def, config.c, reserved.c: added reserved and specify-all-
	  reserved options to let configs specify all the reserved words. Also
	  removed now redundant cobol85-reserved option.
	* reserved.c (default_reserved_word_list): removed unimplemented
	  COBOL-85 words.
	* reserved.c (cob_strcasecmp): removed assumption that second arg was
	  all caps.
	* cobc.c (process_command_line): moved cb_list_reserved call to after
	  the configuration has loaded.
	* cobc.h (noreserve): renamed to reserved_word_list.
	* tree.h (cobc_reserved): removed const qualifiers from members.

2016-02-23  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, typeck.c (cb_check_word_length), tree.h: moved word length
	  check out of scanner.l to also check numeric-only words that bypass
	  the checks in scanner.l

2016-02-21  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (read_literal): Fix wrong error about max-literal length
	  when the last position is an escaped literal mark

2016-02-20  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (procedure_returning): fixed bug #203: emit error if function
	  returning item has ANY LENGTH clause.

2016-02-17  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (display_atom): prepare for DISPLAY OMITTED.
	* typeck.c (cb_emit_display): refactored.
	* typeck.c: added non-functional version of (cb_emit_display_omitted).

2016-02-17  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_expr_finish): tweak line number to match the error

2016-02-16  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #201 - where a specified UPON device was replaced
	  with the default.

2016-02-13  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: permit DISPLAY and ACCEPT clauses in any order.
	* parser.y: add optional WITH before every disp/accp_attr and optional
	  AT before each LINE/COL clause.
	* parser.y: allow the screen and device formats of the DISPLAY statement
	  to be mixed in one statement.

2016-02-02  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l (read_literal): Fix multiple heap corruptions
	  for uncommon literals - bug 195

2016-01-31  Simon Sobisch <simonsobisch@gnu.org>

	* config.c (cb_config_entry): remove CR/LF for error "invalid conf. tag"

2016-01-30  Simon Sobisch <simonsobisch@gnu.org>

	* general: fixing all warnings generated by msc code analysis
	  (possible memory related issues)
	* cobc.c (process_filename): don't check object files for valid COBOL
	  file names
	* cobc.c (process_library) [_MSC_VER]: check all input filenames
	  preventing deletion of passed lib file
	* cobc.c (process_filtered) [_MSC_VER]: fix deletion of passed obj file,
	  only filter for file basename (not including directory)
	* cobc.c (line_contains) [_MSC_VER]: only return if all patterns matched
	* Makefile.am: included a move for manual post-fix of sources generated
	  by flex (otherwise the #line directives use the intermediate tmp file)

2016-01-22  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: refactored handling of conflicting screen clauses.

2016-01-20  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #190 - added check that ERASE EOL and EOS are not
	  specified at the same time.
	* parser.y: added [END OF] LINE/SCREEN as synonym for EOL/EOS.
	* parser.y: fixed bug #191 - added check that BLANK LINE and SCREEN are
	  not specified at the same time.

2016-01-17  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y (screen_description): fixed bug #186 - only the clauses
	  in the current screen item are checked for duplication.
	* scanner.l (scan_*): suppressed compiler warnings by casting size_t to
	  int in printf calls.

2016-01-10  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #182 - ON/OFF in SWITCH clause causing incorrect
	  duplicate CURRENCY clause error.
	* parser.y (check_repeated): merged check_*_repeated functions into one
	  function.

2016-01-09  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l, tree.c: postponed numerical literal checks for possible labels
	  from scanner.l to tree.c (check_lit_length, error_numeric_literal)

2016-01-08  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l, config.def: reverted [r605]. Marked continuation of COBOL
	  words as archaic in standard-conforming implementations.

2016-01-04  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #180 - added check that HIGHLIGHT and LOWLIGHT are
	  not specified at the same time.
	* codegen.c (output_set_attribute): made HIGHLIGHT ON imply LOWLIGHT off
	  and vice versa.

2016-01-03  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: fixed bug #178 - added check that certain identifiers are
	  not 88-level items.

2016-01-02  Ron Norman

	* codegen.c (output_index): If subscript is unsigned then output the
	  code as if it was signed. This is to avoid a core dump when an
	  unsigned binary subscript has a value of ZERO.

2016-01-01  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: moved SET_LOCALATION to tree.c (cb_build_xyz)
	* tree.c (cb_concat_literals): the new literal inherits its position from
	  the first literal, check for cb_literal_length
	ODO checks:
	* parser.y (integer): return numeric literal -1 instead of cb_int1
	  for incorrect numerical literals
	* parser.y: add check OCCURS max. must be greater than OCCURS min.
	NESTED OCCURS with DEPENDING - feature-requests:#99:
	* tree.h: remove flag_odo_item, add odo_level instead
	* typeck.c: compute odo_level in (cb_validate_program_data),
	  add check for nested ODO to (cb_validate_one)

2015-12-31  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c (reserved_words), parser.y: corrected GRID implementation;
	  is different to LEFTLINE.

2015-12-30  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c, codeoptim.c: Changed code to generate cob_screen as a
	  doubly linked list.
	* reserved.c (reserved_words): added GRID as synonym for LEFTLINE.

2015-12-30  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, config.c: changes for replacing -cb_conf=<tag>:<value> with
	  additional flags -f<tag>=<value> including -f[no-]<tag> for binary confs
	* config.def, cobc.c, cobc.h, config.c: added additional parameter in
	  config.def for help output; changed defines for CB_CONFIG_*

2015-12-28  Simon Sobisch <simonsobisch@gnu.org>

	part fixed bug #177 - added missing ODO checks for subordinate items
	* tree.h: renamed flag_odo_item to flag_odo_relative, add new flag_odo_item
	* typeck.c, codegen.c: adjustments for changes to tree.h
	* typeck.c (cb_validate_program_data): set flag_odo_item for ODO parents
	* typeck.c (cb_build_identifier): generate cob_check_odo for all sub-items
	  of items with flag_odo_item (instead of only for ODO fields of itself)

2015-12-27  Simon Sobisch <simonsobisch@gnu.org>

	* config.c (invalid_value): added output for not-numeric, min, max
	* config.c (cb_config_entry): validate word length against COB_MAX_WORDLEN
	* cobc.c (process_command_line): moved check of configuration values for
	  tab-width and text-columns to config.c (cb_config_entry)
	* cobc.c (process_command_line): process the command line twice: first time
	  for handling all options that read a complete configuration or are
	  output-only options, the second time for every other option including
	  overriding of single configuration flags
	* error.c, cobc.h: new (configuration_warning)
	* config.c (cb_load_conf): issue a warning if a previous loaded configuration
	  is discarded

2015-12-25  Simon Sobisch <simonsobisch@gnu.org>

	first implementation of feature-requests:#99 - NESTED OCCURS with DEPENDING
	* field.c (validate_field_1): allow nested ODO with complex-odo = yes
	* codegen.c (output_data): recalculate size for nested ODO by -fodoslide

2015-12-24  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: added checks of number of args passed to
	  FORMATTED-(DATE)TIME.
	* parser.y, reserved.c: added SYSTEM-OFFSET to FORMATTED-(DATE)TIME.
	* parser.y: removed PENDING from FULL and REQUIRED clauses.
	* tree.c: added (warn_cannot_get_utc).

2015-12-22  Simon Sobisch <simonsobisch@gnu.org>

	* Makefile.am: post-process generated flex sources via sed for non-GNU
	  compilers that define __STDC_VERSION__ >= 199901L but don't work correct

2015-12-20  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: exit on -V for GNU-coding-conformance, added -vv (very verbose)
	  resulting in a call to cobc_print_version() after command line parsing,
	  removed -R as we have a short version for --debug in -d already
	* cobc.h: added CB_STD_ACU and CB_STD_2014

2015-12-19  Simon Sobisch <simonsobisch@gnu.org>

	* tree.h: change order of fields in cb_intrinsic_table
	* tree.c (cb_build_intrinsic): better check of min/max arguments
	* reserved.c: set correct min/max values in function_list,
	  (cb_list_intrinsics): output min/max value

2015-12-18  Simon Sobisch <simonsobisch@gnu.org>

	* config.def: new configuration "call-overflow"
	* parser.y: split exception_or_overflow to value cb_call_overflow

2015-12-15  Brian Tiffin <btiffin@gnu.org>

	* cobc.c (cobc_print_usage, process_command_line): command line option -a
	  replaced with -R, as animator will eventually get -a.

2015-12-05  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (offset_time_format, offset_arg_param_num): deleted functions
	  as offset parameter for the formatted datetime functions is optional.

2015-12-03  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c (offset_time_format): fixed bug #169 - require datetime
	  functions with Z format to take an offset parameter.

2015-11-25  Sergey Kashyrin <ska@kiska.net>

	* codegen.c (output_integer): cast program-pointer to unsigned char *,
	  not to void *

2015-11-23  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c (cb_get_int): Fix for Bug #167 - activated size check and set
	  limit depending on INT_MAX
	* tree.c (cb_get_int, cb_get_long_long, cb_get_u_long_long): don't call
	  COBC_ABORT if numeric literals are too big but raise a normal compiler
	  error showing the actual (system specific) limit

2015-11-11  Simon Sobisch <simonsobisch@gnu.org>

	Fix for Bug #165:
	* pplex.l (ppopen): activated check for BOM independent of WIN32, skipped
	  it on compilations from stdin
	* cobc.c [_MSC_VER]: build and pass exename to cl.exe and mt.exe
	Fix for Bug #166:
	* cobc.c [_MSC_VER]: split (process) to (process_filtered) for filtering
	  cl.exe's verbose output - now filtering *all* lines instead of first three
	* cobc.c [_MSC_VER]: rewritten (line_contains) for matching "special" names

2015-11-06  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c (process) [_MSC_VER]: bugfix in output filter
	* cobc.c (process_run): enable -j to work on systems that need ".\", too

2015-10-28  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: maximum word-length always resulted in error if -W[all]
	  was set, now only raise an error if -frelax-syntax is not set and
	  raise a warning if both -frelax-syntax and -W[all] are active
	* tree.h: new field flag flag_is_pdiv_opt
	* parser.y: set f->flag_is_pdiv_opt for vars in USING with OPTIONAL clause
	* typeck.c (cb_build_identifier): add check for access of OPTIONAL LINKAGE
	  items if COB_EC_PROGRAM_ARG_OMITTED is active
	* typeck.c (cb_build_identifier): build and use full name (including the
	  actual used var, not only the name of the parent) for runtime checks of
	  BASED items and OPTIONAL LINKAGE items

2015-10-27  Simon Sobisch <simonsobisch@gnu.org>

	* error.c: warning/error output for compiler support options

2015-10-25  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: tweaked error messages, added possible values if invalid
	* config.c (cb_load_conf_file): if include file is not found prefix it
	  with path of current loaded configuration file

2015-10-18  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y, scanner.l: added support for MF's/ACUCOBOL's ON ESCAPE
	  phrase for ACCEPT.

2015-10-25  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, reserved.c: added RM/ACU extension ASSIGN TO PRINT/PRINTER-1,
	  both with and without assign names

2015-09-24  Edward Hart <edward.dan.hart@gmail.com>

	* scanner.l: added non-standard numeric literals: MF's numeric
	  boolean and ACUCOBOL's B#, O#, X# and H# literals.
	* tree.c: improved error messages and refactored (cb_concat_literals).

2015-09-21  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c [_MSC_VER]: make sure that only temporary lib-files are removed

2015-09-15  Brian Tiffin <btiffin@gnu.org>

	* cobc.h, moved COB_DASH defines out of ../configure.ac

2015-08-25  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: tightened AT clause definition.
	* typeck.c (valid_screen_pos): improved error message and refactored.

2015-08-23  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: improved error messages of integer and report_integer.

2015-08-21  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: removed PENDING from LOWLIGHT clause.

2015-08-20  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: adding check for ACCEPT/DISPLAY statements taking
	  the cursor position as a single field so that the position is an
	  integer with 6 digits or less than 4 digits.
	* parser.y: improved error messages of integer and report_integer.

2015-08-19  Ron Norman <rjn@inglenet.com>

	* cobc.c: swapped order of parameters for C compiler and linking so that
	  -L options come before -l
	  Otherwise the linker does not find things correctly on Linux
	* field.c (validate_field_1): warning instead of an error for VALUEs in
	  REDEFINES with -frelax-syntax as some legacy COBOL code does this

2015-08-03  Brian Tiffin <btiffin@gnu.org>

	* cobc.h, cobc.c, pplex.l: allow compiles from stdin
	* cobc.c: add -j after build run
	  added short aliases for -free (-F) and -debug (-a)

2015-07-07  Ron Norman <rjn@inglenet.com>

	* parser.y, typeck.c, reserved.c, tree.h:
	  Added CB_DEVICE_PRINTER with a new value to differentiate between
	  PRINTER and SYSOUT. DISPLAY ... UPON PRINTER can be redirected via
	  the env var COBPRINTER similar to what Micro Focus supports

2015-07-06  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: Improved parsing of all literals including error messages,
	  fixing bug ".e000-expand-macro-calls." being misinterpreted as (wrong)
	  floating-point literal

	compiler configuration, including feature-request #43:
	* config.def: new configurations "literal-length" and
	  "numeric-literal-length"
	* typeck.c (non_integer_move): don't value suppress_warn more than
	  cb_move_noninteger_to_alphanumeric
	* scanner.l: value cb_numeric_literal_length and cb_literal_length

2015-07-05  Edward Hart <edward.dan.hart@gmail.com>

	* typeck.c: added TALLY special register (Wish List #34).
	* scanner.l: Improved error detection of invalid floating-point literals
	  and associated error messages. Also minor refactoring.

2015-07-03  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c (output_size): Fix Bug #146 reference modification
	  ignored ODO size

2015-06-12  Edward Hart <edward.dan.hart@gmail.com>

	* codegen.c: bug #78 - changed location of initialization of
	  local-storage items.
	* pplex.l: bug #102 - added check for continuation line without literal
	  or word to continue.

2015-06-09  Edward Hart <edward.dan.hart@gmail.com>

	* parser.y: bug #83 - added check for relative LINE/COLUMN clauses in
	  screen section occurs items.

2015-06-08  Luke Smith <cobcoder@users.sourceforge.net>

	FR #37 - Added WITH SIZE to ACCEPT/DISPLAY field
	* parser.y (accp_attr): added [PROTECTED] SIZE clause
	* parser.y (disp_attr): added SIZE clause
	* reserved.c: added context-sensitive PROTECTED
	* tree.c, tree.h (cb_build_funcall): additional parameter,
	  new macro CB_BUILD_FUNCALL_10
	* typeck.c (cb_emit_accept, cb_emit_display): cater for new size attribute

2015-05-29  Ron Norman <rjn@inglenet.com>

	* parser.y fixed so UNSTRING works with identifier/literal/function

2015-05-16  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: bug #136 added check for duplicate on/off clauses for switches
	* reserved.c, tree.h: fr #65 added more switches "SWITCH-16" to "SWITCH-36"
	* parser.y, reserved.c, scanner.l: fr #65 better support for ACUCOBOL
	  extension "SWITCH 1" to "SWITCH 26", added alias SWITCH [A-Z],
	  allow this extension only with -fsyntax-extension

2015-05-12  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: new options "includeif" to include only if file exists
	  (implemented according to runtime configuration by Ron Norman)

2015-05-07  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y, typeck.c, cobc.h: bug #135 - give correct error position
	  (cb_source_file + new cb_exp_line) for expression errors

2015-04-27  Ron Norman <rjn@inglenet.com>

	* config.c: don't store configuration values additional to the setting
	
2015-04-14  Ron Norman <rjn@inglenet.com>

	* cobc.c codegen.c common.h tree.h parser.y typeck.c:
	  updated to include support REPORT COLUMN LEFT/RIGHT/CENTER
	  Also REPORT: PLUS, STEP on OCCURS and multi COLUMN numbers
	NOTE (Simon): -fibmcomp is deactivated for now
	* cobc.c, flag.def: added -fibmcomp: Handle COMP fields like MF IBMCOMP
	  (binary-size: 1--8 & synchronized-clause: ignore)

2015-04-28  Ron Norman <rjn@inglenet.com>

	* codegen.c now emits extern <function prototype> ();
	  for each subroutine called statically to avoid
	  C compiler warnings

2015-04-25  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (cb_emit_initialize): bug #84 check target for INITIALIZE,
	  almost fixed as suggested by Edward Hard

2015-04-14  Ron Norman <rjn@inglenet.com>

	* codegen.c: for RELATIVE files ACCESS SEQUENTIAL if no KEY is
	  defined then an internal one is created. This was required as
	  parts of fileio.c expect there to be a key field for RELATIVE
	  files to hold the record number being processed.
	* cobc.c, cobc.h, flag.def: new option -fcallfh (alias CIT compatibility:
	  -use-extfh) with option function-name to include support for Micro Focus
	  style EXTFH interface, see NEWS
	* tree.c, tree.h (struct cb_file): added extfh parameter
	* typeck.c: generate call to EXTFH depending on cb_file->extfh

2015-04-12  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: load configuration file from COB_CONFIG_DIR if file cannot be
	  accessed in current directory, only check for missing definitions if
	  configuration file loaded without errors

2015-04-02  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: set FORMATTED-CURRENT-DATE, INTEGER-OF-FORMATTED-DATE, and
	  TEST-FORMATTED-DATETIME and INTEGER-OF-FORMATTED-DATE to implemented

2015-04-02  Edward Hart <edward.dan.hart@gmail.com>

	* cobc.c: replaced "MSC_VER >= 1400" with COB_USE_VC2005_OR_GREATER

2015-04-01  Simon Sobisch <simonsobisch@gnu.org>

	* reserved.c, parser.y : added column orientation as pending
	* reserved.c : marked SYNCHRONIZED RIGHT as pending as generation was LEFT

2015-03-10  Simon Sobisch <simonsobisch@gnu.org>

	* config.c: support for multiple inclusion of conf files while
	  checking for recursion

2015-03-09  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c: added more checks of overlapping MOVE,
	  generate MOVEs as overlapping if it's not sure it isn't

2015-03-05  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: added check of recursive CALL for INITIAL programs

2015-02-23  Ron Norman <rjn@inglenet.com>

	* tree.c, tree.h, typeck.c: moved cb_field_size to tree.c
	* codegen.c, parser.y, tree.c, tree.h, typeck.c: FR #23 + FR #281
	  Implemented support for sparse and split keys for INDEXED files
	  Most of the compiler code was borrowed from the fileio-rewrite

2015-02-13  Ron Norman <rjn@inglenet.com>

	* tree.c: fix to only adjust up file record_max for REPORT files

2015-02-12  Ron Norman <rjn@inglenet.com>

	* Merged Report Writer code into 2.0 code base to create a new 2.0
	  with all collective features

2015-01-31  Edward Hart <edward.dan.hart@gmail.com>

	* tree.c: updated valid_time_format and valid_datetime_format to pass
	  decimal points

2015-01-16  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: set TEST-FORMATTED-DATETIME and INTEGER-OF-FORMATTED-DATE
	  to implemented

2015-01-06  Brian Tiffin <btiffin@users.sf.net>

	* parser.y: fixed segfault with STOP "literal" with the ACCEPT OMITTED
	  feature attempting to generate code with null pointer

2014-12-11  Ron Norman <rjn@inglenet.com>

	* Fixes so WARNING is given if no DETAIL lines in a report

2014-06-16  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fixing Bug #79 by defining PLUS_KEYWORD: PLUS|+

2014-06-14  Ron Norman <rjn@inglenet.com>

	* Fixes for LINE|COL 0 to get error message

2014-12-02  Sergey Kashyrin <ska@kiska.net>

	* codegen.c: fix for bug #52 incorrect premature memory release (CANCEL)
	  of INITIAL programs

2014-12-01  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fix bug #108 figurative constants not accepted in screen items

2014-11-18  Sergey Kashyrin <ska@kiska.net>

	* field.c: fix bug #89 incorrect LENGTH OF redefined

2014-11-06  Simon Sobisch <simonsobisch@gnu.org>

	* typeck.c (decimal_expand): fix bug #106 allocating cob_decimal too often

2014-10-29  Simon Sobisch <simonsobisch@gnu.org>

	* config.c (cb_config_entry): remove inline comments from entry
	* config.def, scanner.l: check maximum word length depending on new
	  configuration word-length
	* cobc.c: added std=acu

2014-10-17  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: added SUPPRESS clause as PENDING, see request #23

2014-09-18  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l: bug #96 prevent line overflow, add warning "Source text too long"
	* pplex.l: only show warning "Source text after column ..." if no comment was
	  started in this line before

2014-09-17  Edward Hart <edward.dan.hart@gmail.com>

	* reserved.c: Set FORMATTED-DATE/DATETIME/TIME functions to implemented
	* reserved.c, parser.y: replaced FORMATTED_CURRENT_FUNC with FUNCTION_NAME
	* tree.c: added compile time checking of date/time formats and offset
	  time presence.

2014-09-12  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c [_MSC_VER]: correct handling of -l (add .lib and pass to linker)
	* cobc.c, cobc.h, error.c: message style change according to C compiler,
	  can be changed via COB_MSG_FORMAT (GCC/MSC)
	* cobc.c (process) [_MSC_VER]: bugfix in output filter
	* parser.y, reserved.c, typeck.c: Added parser support for OCCURS DYNAMIC
	  along with CAPACITY clause as not implemented

2014-09-08  Philipp Böhme <phi.boehme@googlemail.com>

	* cobc.c (process) [_MSC_VER]: bugfix in output filter

2014-09-03  Philipp Böhme <phi.boehme@googlemail.com>

	* cobc.c, cobc.h: added cobc_free() function
	  (Own freeing functions for debugging purposes.
	  (e.g. to locate heap crashes caused by malloc/free))
	* change all free() to cobc_free()
	* cobc.c (process) [_MSC_VER]: cob_malloc() to cobc_malloc()
	* cobc.c: use COB_PIC_FLAGS for CB_LEVEL_ASSEMBLE

2014-08-25  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: never warn ENTRY as unreachable

2014-08-25  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: Changed output of --help for help2man
	* Makefile.am: Added manpage generation + install

2014-07-31  Simon Sobisch <simonsobisch@gnu.org>

	* pplex.l, flag.def: new flag acucomment:
	  '$' in indicator area treated as '*', '|' treated as floating comment

2014-07-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, config.c: new option -cb_conf for overriding configuration
	  options
	* config.c, cobc.c, error.c (configuration_error): new function for errors
	  concerning configuration options --conf / --cb_conf /
	  configuration parsing, complete rewrite of configuration error messages
	* parser.y : Added WITH DEFAULT as alias for WITH UPDATE
	* config.def, parser.y : new configuration option accept-update
	  for setting WITH UPDATE/DEFAULT clause as standard, adding new extension
	  WITH NO UPDATE/DEFAULT to disable this behaviour explicit
	* config.def, parser.y : new configuration option accept-auto
	  for setting WITH AUTO clause as standard, adding new extension
	  WITH TAB to disable this behaviour explicit

2014-07-28  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: fix #88 false unreachable warning after END DECLARATIVES
	  without main section/paragraph

2014-07-18  Edward Hart <edward.dan.hart@gmail.com>

	* pplex.l: fixed bug #86 whitespace handling for IDENTIFICATION DIVISION
	  and DEBUGGING MODE

2014-07-10  Philipp Böhme <phi.boehme@googlemail.com>

	* typeck.c (cb_emit_sort_init): calculation of table key offset fixed

2014-07-02  Philipp Böhme <phi.boehme@googlemail.com>

	* cobc.c [_MSC_VER]: filter output of cl.exe (instead of redirecting to
	  NUL), errors are printed in non-verbose mode now; new: (read_buffer_line)
	  (line_contains)
	* cobc.c [_MSC_VER]: remove temporary object files after building

2014-06-30  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: move cobc's (cobc_temp_name) to libcob as (cob_temp_name)
	* cobc.c: use (cob_sys_getpid) everywhere instead of (getpid)

2014-06-29  Simon Sobisch <simonsobisch@gnu.org>

	* tree.c: Detect missing ASSIGN at compile time

2014-06-19  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: Fixing compilers (like MSC) that don't HAVE_DESIGNATED_INITS
	  cobc_init_reserved() has to be called before process_command_line()

2014-05-20  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l: Fixing #71 Referencing GLOBAL 78/CONSTANT in SELECT
	  causes internal error

2014-05-26  Ron Norman <rjn@inglenet.com>

	* typeck.c: use memmove for move of LINKAGE items

2014-05-26  Simon Sobisch <simonsobisch@gnu.org>

	* scanner.l : Fixing #71 Referencing GLOBAL 78/CONSTANT in SELECT causes
	  internal error

2014-05-20  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: Added extension "USE AT PROGRAM START/END" as not implemented

2014-05-14  Philipp Böhme <phi.boehme@googlemail.com>

	* cobc.c: Catch and treat error when no disc space is available for
	  output files

2014-05-07  Ron Norman <rjn@inglenet.com>

	* typeck.c: use memmove for move of LINKAGE items

2014-04-30  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: Added extension "GOBACK/EXIT PROGRAM RETURNING/GIVING x"

2014-04-29  Philipp Böhme <phi.boehme@googlemail.com>

	* codeoptim.c: Fixed bug in COB_ADD_PACKED_INT.
	  Computing COMP-3 failed in MSVC-build versions,
	  in output_storage() calls '%' should be '%%'.

2014-03-10  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: support for user-defined LOCALEDIR via environment

2014-03-07  Simon Sobisch <simonsobisch@gnu.org>

	* field.c: Added check for maximum size of group/alphanumeric items

2014-02-17  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: Tweaked --info for showing current settings (environment) along
	  with settings hard-wired during build (COB_xyz)

2014-01-07  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y: Bugfix: no exception check for NULL address on FREE statement
	  (as this is explicit allowed)

2014-01-02  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c: Fixing Bug #55 UDF with no parameters does not compile

2013-11-20  Ron Norman <rjn@inglenet.com>

	* Report Writer module

201?-??-??  Sergey Kashyrin <ska@kiska.net>

	* codeoptim.c : Fixed bug in COB_ADD_PACKED_INT.
	  Computing COMP-3 failed in MSVC-build versions,
	  in output_storage() calls '%' should be '%%'.

2012-05-09  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c: Added conversion for enabling options in WIN style

201?-??-??  ??

	* parser.y: Added checks for RETURNING item: OCCURS, LOCAL-STORAGE

2010-06-28  Roger While <simrw@sim-basis.de>

	* MARK - Version 2.0
	* Move to GPL/LGPL 3

2010-0?-??  Roger While <simrw@sim-basis.de> ?

	* flag.def, cobc.h, parser.y, scanner.l, tree.c: removed -ffunctions-all
	* flag.def, cobc.h, scanner.l: added -fintrinsics=<val>, with
	  <val>being [ALL|intrinsic function name(,name,...) to prevent reuse of
	  user-defined names and to mimic CONFIGURATION SECTION. REPOSITORY.

2010-05-??  Roger While <simrw@sim-basis.de> ?

	* flag.def, cobc.c: remove compiler flags if-cutoff, extra-brace,
	  optional-file
	* error.c: remove special warnings for lvl-78
	* pplex.l [_WIN32]: check for UTF-8 BOM in source files and skip it

2009-??-??  Roger While <simrw@sim-basis.de>

	* parser.y, reserved.c, tree.c, tree.h, codegen.c: full support of ANSI 85
	  debugging module by adding USE FOR DEBUGGING declarative procedures
	  (only part of the generation if WITH DEBUGGING MODE is active during
	  compilation) and special register DEBUG-ITEM
	  note: the execution at runtime is depending on COB_SET_DEBUG

2009-??-??  Roger While <simrw@sim-basis.de>

	* cobc.c, cobc.h, codegen.c, tree.h, typeck.c: Adding new commands to cobc
	  --info with most important configuration/environment details
	  --list-system for displaying all registered system routines

2009-??-??  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c (cb_emit_accept_escape_key): Implementing
	  ACCEPT .. FROM ESCAPE KEY

20??-??-??  Simon Sobisch <simonsobisch@gnu.org>

	* codegen.c : Simplify by handling stuff for different compilers
	  by general define (COB_ALIGN)

20??-??-??  Roger While <simrw@sim-basis.de>

	* cobc.c, cobc.h, tree.h: Simplify by handling stuff for
	  different compilers by general defines (CB_COPT_x, COB_A_...),
	  added parsing step and source name to verbose messages,
	  added some comments

20??-??-??  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c, cobc.h, tree.c, typeck.c : adjustments for MSC,
	  fix some compiler warnings, support possible spaces in different
	  path names, enable linking of already assembled modules for
	  different UNIXes

2009-12-25  Roger While <simrw@sim-basis.de>

	* typeck.c : Added validate_inspect for check of operands in
	  INSPECT REPLACING/CONVERTING

2009-10-29  Simon Sobisch <simonsobisch@gnu.org>

	* cobc.c : Warn if -Debug is used (because likely -debug was intended)

2009-10-08  Simon Sobisch <simonsobisch@gnu.org>

	* error.c, field.c, typeck.c : Fix field names "WORK$"->"FILLER"
	  in warning/error messages

2009-08-18  Roger While <simrw@sim-basis.de>

	* codegen.c : initialize_type corrected to handle occurs at 01 level,
	  output_initialize_compound corrected, output_perform_exit - OSVS corrected

2009-??-??  Roger While <simrw@sim-basis.de>

	* typeck.c : fix move to SIGN TRAILING SEPARATE field

20??-??-??  ??

	* parser.y : exclude level 77 from "Item requires a data name" check

2009-08-06  Simon Sobisch <simonsobisch@gnu.org>

	* parser.y : Add output of unreachable statement to -Wunreachable

2009-06-19  Roger While <simrw@sim-basis.de>

	* parser.y : Fix invalid syntax with OPEN/CLOSE
	* parser.y, tree.h : Preliminary RW changes

2009-06-17  Roger While <simrw@sim-basis.de>

	* pplex.l : Save/restore fixed/free status on COPY

2009-06-09  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix constant calculation for redefines/renames

2009-06-01  Roger While <simrw@sim-basis.de>

	* codegen.c : Revise trace processing

2009-05-25  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, codegen.c : CALL ... RETURNING NULL

2009-05-11  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Implement ACCEPT OMITTED
	* parser.y : UNTIL EXIT as alternative to FOREVER

2009-05-01  Roger While <simrw@sim-basis.de>

	* General : Code clean/sanitize

2009-04-11  Roger While <simrw@sim-basis.de>

	* General : Support icc
	* parser.y, typeck.c : Support LOCK clause on OPEN

2009-03-16  Roger While <simrw@sim-basis.de>

	* codegen.c : Cancel contained programs

2009-03-12  Roger While <simrw@sim-basis.de>

	* Makefile.am : Fix for newest development tools

2009-03-09  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix valid multi-source nested and contained programs

2009-03-06  Roger While <simrw@sim-basis.de>

	* field.c : Fix up LENGTH clause with CONSTANT

2009-03-03  Roger While <simrw@sim-basis.de>

	* codegen.c : Fixes for icc

2009-02-23  Roger While <simrw@sim-basis.de>

	* parser.y : Allow figurative literal on FROM clause
	* cobc.c : Harden against stack smash/buffer overflow attacks
	* typeck.c : Fix up COLUMN clause

2009-02-16  Roger While <simrw@sim-basis.de>

	* parser.y, scanner.l : Differentiate LENGTH OF as special

2009-02-14  Roger While <simrw@sim-basis.de>

	* tree.c, tree.h, typeck.c, field.c : Fix size warning for BINARY-xxx
	* scanner.l : Fix compiling a listing output from a previous compile

2009-02-12  Roger While <simrw@sim-basis.de>

	* tree.c, tree.h, typeck.c, codegen.c : Fix CANCEL for contained programs
	* pplex.l : Ignore $SET at column 7 when fixed format

2009-02-11  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, field.c : Fix up ODO checking
	* codegen.c, parser.y, tree.c, tree.h, cobc.c :
	  Nested/contained visibility fixes

2009-02-06  Roger While <simrw@sim-basis.de>

	* pplex.l : Check all of "Area A" after AUTHOR etc.

2009-02-02  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix parsing of # lines

2009-01-30  Roger While <simrw@sim-basis.de>

	* warning.def, parser.y, scanner.l, tree.h : Unreachable statement warn
	* cobc.c : Fix program name

2009-01-29  Roger While <simrw@sim-basis.de>

	* parser.y, scanner.l, tree.h : Force LITERAL for PROGRAM-ID

2009-01-28  Roger While <simrw@sim-basis.de>

	* parser.y : Fix warning on non-USING LINKAGE item redefines
	* codegen.c : Remove refs to call.def
	* cobc.c, codegen.c, typeck.c : Remove -dynopt usage
	* Makefile.am : Remove call.def

2009-01-27  Roger While <simrw@sim-basis.de>

	* parser.y : Fix PROGRAM-ID types
	* typeck.c : Change hyphen interpretation
	* codegen.c : Optimize CALL literal

2009-01-24  Roger While <simrw@sim-basis.de>

	* cobc.c, codegen.c : Fix up labels

2009-01-24  Roger While <simrw@sim-basis.de>

	* cobc.c : Fix signals for MinGW

2009-01-23  Roger While <simrw@sim-basis.de>

	* tree.c, typeck.c : RETURN-CODE is GLOBAL in nested programs
	* reserved.c : Allow not-reserved from config on functions

2009-01-22  Roger While <simrw@sim-basis.de>

	* typeck.c, tree.c, tree.h, codegen.c :
	  Change warning for special registers
	* parser.y : Divorce constant fields from the working list
	* typeck.c : Fix ACCEPT/DISPLAY AT llcc for screen items
	* reserved.c, tree.c, tree.h, scanner.l, parser.y :
	  Functions CONCATENATE and SUBSTITUTE-CASE

2009-01-20  Roger While <simrw@sim-basis.de>

	* scanner.l : Allow empty alphanumeric literal
	* parser.y, codegen.c : Minimal value occurs support for screen items

2009-01-18  Roger While <simrw@sim-basis.de>

	* parser.y, reserved.c : Preliminary parse syntax for RW
	* field.c : Fix 78 level

2009-01-17  Roger While <simrw@sim-basis.de>

	* cobc.c, tree.h, reserved.c : --list-mnemonics

2009-01-15  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, typeck.c, codegen.c : SCROLL for ACCEPT/DISPLAY
	* tree.c : Fix usage of FUNCTION as PERFORM subject

2009-01-14  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, typeck.c : ACCEPT .. FROM LINES/COLUMNS

2009-01-12  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix DISPLAY UPON
	* parser.y, tree.h, field.c : Allow 78 level within record description

2009-01-03  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix group initialization with ODO subitems

2008-12-31  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix LOCAL-STORAGE variable definition
	* parser.y, scanner.l : Tighten checks

2008-12-21  Roger While <simrw@sim-basis.de>

	* field.c : Fix GLOBAL INDEXED
	* scanner.l : Fix comma parsing yet again

2008-12-20  Roger While <simrw@sim-basis.de>

	* General : Clean up
	* tree.c, tree.h, reserved.c, scanner.l : Implement SUBSTITUTE function

2008-12-16  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix local storage
	* parser.y, scanner.l, tree.c, flag.def :
	  CONFIGURATION SECTION is not allowed in nested programs.
	  CONFIGURATION SECTION is inherited by nested programs.
	  FUNCTION ALL INTRINSIC in REPOSITORY allows functions
	  without FUNCTION keyword. Can also be activated
	  with -ffunctions-all.

2008-12-15  Roger While <simrw@sim-basis.de>

	* scanner.l : Clean up
	* parser.y : Fix program type parsing
	* parser.y, scanner.l, typeck.c : Split out display constructs

2008-12-12  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix comma parsing
	* cobc.c, tree.h, reserved.c : Option --list-intrinsics

2008-12-08  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, codegen.c, reserved.c : Implement infinite PERFORM
	* tree.h, typeck.c, codegen.c : Do not gen internal registers unnecessarily

2008-12-03  Roger While <simrw@sim-basis.de>

	* codegen.c : Better code for handling file errors

2008-12-01  Roger While <simrw@sim-basis.de>

	* parser.y : Fix up OBJECT-COMPUTER paragraph
	* codegen.c : Use pointer for frame stack manipulation

2008-11-28  Roger While <simrw@sim-basis.de>

	* parser.y, cobc.c, tree.c, tree.h, codegen.c : USE GLOBAL changes

2008-11-21  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix binary initialization

2008-11-20  Roger While <simrw@sim-basis.de>

	* General : Tidy up
	* typeck.c : Fix abort due to invalid syntax
	* parser.y : Tighten up checking

2008-11-14  Roger While <simrw@sim-basis.de>

	* cobc.c : Insert signal processing

2008-11-12  Roger While <simrw@sim-basis.de>

	* parser.y : Preliminary acceptance of REPOSITORY.
	  LOCAL-STORAGE is not allowed in nested programs

2008-11-11  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, codegen.c : Fix BASED NULL check, add NULL check
	  for LINKAGE item (-debug) when not a PROC DIV USING param

2008-11-09  Roger While <simrw@sim-basis.de>

	* General : Correct CALL conventions, tidy code

2008-11-07  Roger While <simrw@sim-basis.de>

	* General : Preliminary support for GLOBAL

2008-11-02  Roger While <simrw@sim-basis.de>

	* cobc.c, cobc.h, tree.h, codegen.c, typeck.c :
	  Handling of local fields, alphabet names, etc.
	  Create local include file for each, possibly nested, program

2008-11-01  Roger While <simrw@sim-basis.de>

	* scanner.l : Relax comma separator rule

2008-10-31  Roger While <simrw@sim-basis.de>

	* typeck.c : Figurative constant as call parameter is invalid

2008-10-30  Roger While <simrw@sim-basis.de>

	* typeck.c : ASSIGN to 88 item is invalid

2008-10-27  Roger While <simrw@sim-basis.de>

	* flags.def, pplex.l : New -fmfcomment - '*' and '/' in col 1

2008-10-26  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, codegen.c : Fix sign manipulation on overflow fields
	* typeck.c : Relax checking on literal to binary move

2008-10-24  Roger While <simrw@sim-basis.de>

	* parser.y : Implement legacy TRANSFORM
	* parser.y : Allow SORT STATUS

2008-10-17  Roger While <simrw@sim-basis.de>

	* typeck.c : Check BASED items in debug mode

2008-10-11  Roger While <simrw@sim-basis.de>

	* field.c : Do not allow edited PIC with binary/packed fields

2008-10-05  Roger While <simrw@sim-basis.de>

	* parser.y : Fix invalid SEARCH abort

2008-09-29  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix bug in multi-program source file genning
	* codegen.c : Tidy up date/time info in genned C code

2008-09-22  Roger While <simrw@sim-basis.de>

	* typeck.c : Pass FILE STATUS for SORT files

2008-09-15  Roger While <simrw@sim-basis.de>

	* cobc.c : -I options must also be passed to the C compiler
	* reserved.c, parser.y, typeck.c : Preliminary WAIT support

2008-08-20  Roger While <simrw@sim-basis.de>

	* codegen.c : Change to check for __builtin_expect

2008-08-16  Roger While <simrw@sim-basis.de>

	* codegen.c : Unions for function pointers

2008-08-10  Roger While <simrw@sim-basis.de>

	* parser.y, cobc.c, cobc.h, typeck.c : Do not allow C keywords
	  as file names or PROGRAM-ID's

2008-08-01  Roger While <simrw@sim-basis.de>

	* pplex.l : Specific fix for >>D

2008-07-31  Roger While <simrw@sim-basis.de>

	* parser.y : FOREGROUND/BACKGROUND must be propagated from parent

2008-07-28  Roger While <simrw@sim-basis.de>

	* typeck.c : Check min/max values on BINARY-xxx/COMP-5/COMP-X properly

2008-07-26  Roger While <simrw@sim-basis.de>

	* parser.y : Allow literal on FROM clause for WRITE/REWRITE/RELEASE
	* pplex.l : Rewrite source reading
	* warning.def : Don't set column-overflow/terminator with -Wall

2008-07-22  Roger While <simrw@sim-basis.de>

	* cobc.c, cobc.h, warning.def : Remove unused field from macros

2008-07-21  Roger While <simrw@sim-basis.de>

	* typeck.c : Tighten up 88 level checking
	* pplex.l : Directives parsing rewrite

2008-07-20  Roger While <simrw@sim-basis.de>

	* parser.y : Catch mutliple PROGRAM-ID without matching END PROGRAM

2008-07-19  Roger While <simrw@sim-basis.de>

	* General : Tidy up syntax

2008-07-18  Roger While <simrw@sim-basis.de>

	* General : Tighten up invalid syntax checking
	* parser.y, tree.c, tree.h, typeck.c : Experimental CONSTANT support

2008-07-16  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix segfault on invalid expressions, fix gcc warning
	* parser.y : Preliminary CONSTANT support
	* reserved.c : ACU keywords

2008-07-11  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c, typeck.c, codegen.c : ALPHABET/CLASS
	  syntax/checking changes

2008-07-09  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, codegen.c : Fix up SCREEN handling

2008-07-08  Roger While <simrw@sim-basis.de>

	* cobc.c : Prevent display of -fstatic-call in help text

2008-07-07  Roger While <simrw@sim-basis.de>

	* codegen.c : Remove gcc nested function code

2008-07-05  Roger While <simrw@sim-basis.de>

	* codegen.c : Prevent C warning with -fstatic-call and pointer return

2008-07-04  Roger While <simrw@sim-basis.de>

	* General : Cleanup
	* pplex.l : Fix for strict directive parsing

2008-07-02  Roger While <simrw@sim-basis.de>

	* reserved.c, parser.y : Implement BINARY-C-LONG
	* parser.y : Proper checks for missing END-xxx terminators

2008-07-01  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix BY VALUE passing of POINTER

2008-06-29  Roger While <simrw@sim-basis.de>

	* tree.c : Temporary nuke of literal length test

2008-06-25  Roger While <simrw@sim-basis.de>

	* parser.y : SCREEN section input field definition

2008-06-22  Roger While <simrw@sim-basis.de>

	* pplex.l, ppparse.y : Fix SOURCE FORMAT directive

2008-06-17  Roger While <simrw@sim-basis.de>

	* parser.y : Amendments to SCREEN/ACCEPT/DISPLAY

2008-06-12  Roger While <simrw@sim-basis.de>

	* tree.c, codegen.c : Fix possible segfault

2008-06-11  Roger While <simrw@sim-basis.de>

	* parser.y : Fix ALTERNATE key

2008-06-10  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c, tree.h, typeck.c, codegen.c : More SCREEN changes

2008-06-05  Roger While <simrw@sim-basis.de>

	* codegen.c : Prepare for linptr reuse

2008-06-03  Roger While <simrw@sim-basis.de>

	* tree.h, parser.y, typeck.c : Support UNLOCK statement

2008-05-31  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c : Allow VARYING on LINE SEQUENTIAL
	* tree.h, typeck.c : Prepare for parser changes
	* codegen.c : Do not do screen initialization until required

2008-05-23  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Allow FUNCTION (obviously only alphanumeric) as the
	  object of a CALL (e.g. CALL FUNCTION UPPER-CASE (dataitem) ...
	* parser.y, tree.h, codegen.c : Better display of POINTER items

2008-05-22  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix pointer usage for non-aligned architecture

2008-05-21  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix use of special literals in CLASS clause

2008-05-19  Roger While <simrw@sim-basis.de>

	* cobc.c : Fix "translating" verbose message being printed too early
	* parser.y, codegen.c, tree.h : More support for SCREEN

2008-05-16  Roger While <simrw@sim-basis.de>

	* typeck.c : Allow MOVE NULL to index item

2008-05-14  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, parser.y : Simplify accept from environment
	* pplex.l : Add legacy REMARKS

2008-05-12  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix NULL params for sticky linkage
	* field.c, typeck.c, codegen.c : Add some more SCREEN code
	* typeck.c : Allow DISPLAY on stderr when screen active

2008-04-21  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix offset for fields following an ODO (MF)

2008-04-18  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix initialization of fractional packed fields

2008-04-15  Roger While <simrw@sim-basis.de>

	* tree.c, tree.h, parser.y, typeck.c : Handle qualified INDEXED BY items
	* cobc.c, codegen.c : Add build date to info lines

2008-04-02  Roger While <simrw@sim-basis.de>

	* reserved.c, tree.c, tree.h : Implement FUNCTION COMBINED-DATETIME

2008-03-31  Roger While <simrw@sim-basis.de>

	* reserved.c, scanner.l, tree.c, tree.h : Implement function
	  LOCALE-TIME-FROM-SECONDS

2008-03-29  Roger While <simrw@sim-basis.de>

	* General : Fix up sparse warnings

2008-03-24  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c, tree.h, codegen.c : Refmodding for some FUNCTIONS

2008-03-19  Roger While <simrw@sim-basis.de>

	* ppparse.y, pplex.l : Correct COPY ... IN .. processing
	* parser.y : Relax syntax for MF
	* parser.y, reserved.c : Allow PRINTER

2008-03-17  Roger While <simrw@sim-basis.de>

	* typeck.c : Optimize MOVE ALL

2008-03-06  Roger While <simrw@sim-basis.de>

	* flag.def : Remove line-directive, tidy up comments
	* codegen.c : Take out line directive
	* cobc.c : Turn on source location for -g
	* cobc.c, cobc.h : Define ABORT to cobc_abort, make cob_jmpbuf static
	* cobc.c, cobc.h, scanner.l, typeck.c : Use new routine cobc_realloc
	* cobc.c : In case of unrecognized option, exit immediately

2008-03-05  Roger While <simrw@sim-basis.de>

	* tree.c : Cater for SELECT without corresponding FD clause
	* cobc.c : Retain .c and .c.h files when -g option specified

2008-03-04  Roger While <simrw@sim-basis.de>

	* cobc.c : The -ext option must take precedence over default suffixes

2008-02-22  Roger While <simrw@sim-basis.de>

	* codegen.c : NULL terminate CALL, clean up

2008-02-19  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix INITIALIZE on field reference modification

2008-02-16  Roger While <simrw@sim-basis.de>

	* parser.y, codegen.c, tree.c, tree.h, field.c : Preliminary support for
	  ANY LENGTH

2008-02-14  Roger While <simrw@sim-basis.de>

	* tree.c : Tighten checking on field size
	* parser.y : Produce real names instead of tokenized names on error
	  Change "$end" to "end of file"

2008-02-12  Roger While <simrw@sim-basis.de>

	* codegen.c : Use new function cob_set_location

2008-01-19  Roger While <simrw@sim-basis.de>

	* warning.def, typeck.c : Warn when ASSIGN references implicit field

2008-01-10  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix up BY REFERENCE/CONTENT/VALUE processing

2008-01-09  Roger While <simrw@sim-basis.de>

	* parser.y : BY CONTENT is not allowed in PROCEDURE header

2008-01-07  Roger While <simrw@sim-basis.de>

	* parser.y, reserved.c, tree.c : Allow MF syntax for ASSIGN DISK/FILE-ID
	* parser.y, typeck.c, tree.c, tree.h : DISPLAY .. UPON COMMAND-LINE

2008-01-06  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Fix CALL statement returning a pointer
	  Note, this needs fixing for alignment intolerant machines

2008-01-03  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Remove references to own_memxxx and SUPER_OPTIMIZE

2008-01-02  Roger While <simrw@sim-basis.de>

	* parser.y : Fix up VALUE OF in FD clause

2007-12-27  Roger While <simrw@sim-basis.de>

	** Mark 1.0 RELEASE

2007-12-12  Roger While <simrw@sim-basis.de>

	* typeck.c : numeric literal is not allowed with ALL

2007-12-03  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix values of PI and E

2007-10-30  Roger While <simrw@sim-basis.de>

	* cobc.c, codegen.c : Fix size_t <-> int casts
	* typeck.c, codegen.c : Fix binary alignment on non-tolerant machines
	* typeck.c : Fix abort with invalid condition syntax

2007-10-24  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix unsigned comparison

2007-10-23  Roger While <simrw@sim-basis.de>

	* codegen.c : Check HAVE_ATTRIBUTE_ALIGNED
	* typeck.c : Fix C-5 comparison

2007-10-22  Roger While <simrw@sim-basis.de>

	* cobc.c : Fix -fnotrunc
	* typeck.c : Enumerate PI and E to 35 digits

2007-10-18  Roger While <simrw@sim-basis.de>

	* typeck.c : Tighten up 88 level usage in conditions

2007-10-12  Roger While <simrw@sim-basis.de>

	* tree.c, tree.h, typeck.c, codegen.c : The special registers
	  RETURN-CODE, SORT-RETURN and NUMBER-OF-CALL-PARAMETERS must be
	  per module and not per compilation unit.

2007-10-10  Roger While <simrw@sim-basis.de>

	* field.c : More checking for 77/78 levels

2007-09-20  Roger While <simrw@sim-basis.de>

	* field.c : Fix up PIC string encoding

2007-09-12  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, reserved.c : Add in definitions for channels

2007-09-11  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix a PERFORM problem whereby the UNTIL was comparing
	  signed to unsigned.

2007-09-10  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Fix unsafe optimization

2007-09-08  Roger While <simrw@sim-basis.de>

	* parser.y, error.c : Fixes for EXIT SECTION/PARAGRAPH
	* flag.def, cobc.c : New option -fnotrunc ala MF

2007-09-07  Roger While <simrw@sim-basis.de>

	* General : unistd.h is not available on native Win
	* codegen.c, tree.c, typeck.c : Fix up pic string creation
	* reserved.c, parser.y : Implement EXIT SECTION/PARAGRAPH

2007-08-31  Roger While <simrw@sim-basis.de>

	* flags.def, codegen.c  : New option -fstack-check, autoset when
	  --debug or -g set, no longer reliant on a -O option

	* All : 78 levels in ASSIGN
	* typeck.c : Better checking for source moves
	* codegen.c : Cater for changed fileio struct

2007-08-23  Roger While <simrw@sim-basis.de>

	* All : Remove ASCII 10/20, default display sign according to target machine,
	  allow -fsign-ascii, -fsign-ebcdic

2007-08-20  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix a segfault with invalid expression

2007-08-17  Roger While <simrw@sim-basis.de>

	* cobc.h, codegen.c : Detect native EBCDIC machine.
	  Treat ALPHABET/COLLATING EBCDIC as native on EBCDIC machines.
	  ALPHABET/COLLATING STANDARD-1/2 must go through transaltion on
	  EBCDIC machines

2007-08-14  Roger While <simrw@sim-basis.de>

	* codegen.c : Set file version

2007-08-12  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix for EBCDIC machines

2007-08-10  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, tree.h, flag.def : Implement -fassign-external
	  This allows MF conform ASSIGN EXTERNAL filename mapping

2007-08-09  Roger While <simrw@sim-basis.de>

	* cobc.c : Allow environment variable COBCPY to specify copy directories

2007-08-01  Roger While <simrw@sim-basis.de>

	* codegen.c : If -fimplicit-init is specified, always set up the cancel
	  callback

2007-07-30  Roger While <simrw@sim-basis.de>

	* parser.y : Allow unqualified names in the OCCURS KEY clause

2007-07-26  Roger While <simrw@sim-basis.de>

	* tree.h, parser.y, codegen.c : Trace improvements
	* parser.y, error.c, codegen.c : Fix a problem with valid duplicate
	  paragraph names
	* typeck.c : Optimize comparison of unsigned numeric display fields

2007-07-24  Roger While <simrw@sim-basis.de>

	* codegen.c : Reinstate aligned attribute

2007-07-21  Roger While <simrw@sim-basis.de>

	* cobc.h, typeck.c, codegen.c : Fixup for DEC Alpha alignment
	* cobc.c : Use calloc instead of malloc

2007-07-18  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix a leak of cob_decimal structures when doing CANCEL

2007-07-09  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix debugging subscript check to report correct
	  field name
	* tree.c, typeck.c : Optimize VARYING always

2007-07-07  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c : Tighten checks on RECORD clause

2007-07-05  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix wrong BY VALUE parameter generation

2007-07-01  Roger While <simrw@sim-basis.de>

	* cobc.c : Always export TMPDIR to the enviroment
	* typeck.c : Further optimization

2007-06-26  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix C warning on CLASS clause

2007-06-25  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Fix up EVALUATE checks yet again
	* parser.y, pplex.l : Constify string params to cb_error(_x)

2007-06-21  Roger While <simrw@sim-basis.de>

	* tree.c : Produce error for partial expression code on WHEN clause
	* codegen.c : When calling a "system" function (e.g. CBL_OPEN_FILE) with
	  implicit "sticky linkage" (ie. -std=mvs), do not extend the parameter list
	  with NULL's
	* cobc.c : Help was missing for -conf=

2007-06-19  Roger While <simrw@sim-basis.de>

	* parser.y : Fix up WHEN NOT

2007-06-18  Roger While <simrw@sim-basis.de>

	* General : Replace the word illegal with invalid

2007-06-16  Roger While <simrw@sim-basis.de>

	* tree.h, parser.y, typeck.c, codegen.c : Fix subtle difference between GOBACK
	  and EXIT PROGRAM

2007-06-14  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix field access on REDEFINES of BASED/EXTERNAL items

2007-06-06  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : LOCK clause on WRITE/REWRITE

2007-05-21  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Implement IGNORING LOCK
	* parser.y : Take out PENDING status for LOCK on READ

2007-05-18  Roger While <simrw@sim-basis.de>

	* parser.y : Prevent duplicate ORGANIZATION use; particularly the mistake
	  INDEXED SEQUENTIAL

2007-05-16  Roger While <simrw@sim-basis.de>

	* parser.y : LOCK clause on a READ is illegal when the SELECT clause specifies
	  LOCK AUTOMATIC

2007-05-15  Roger While <simrw@sim-basis.de>

	* parser.y : The END PROGRAM identifier must agree with the PROGRAM-ID

2007-05-14  Roger While <simrw@sim-basis.de>

	* parser.y, codegen.c : Use original names, not the mangled names when tracing

2007-05-11  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix miscompilation with nested source programs
	* cobc.c : Tighten up checking for presence of input files

2007-05-09  Roger While <simrw@sim-basis.de>

	* cobc.c : Implement -D option to specify defines for C compiles and
	  and eventuallly for conditional COBOL compilation.
	  Fix up HP-UX machines that per default do not honour SHLIB_PATH.
	  Implement -b option to create a single dynamically loadable object from
	  multiple input files.

2007-05-08  Roger While <simrw@sim-basis.de>

	* codegen.c : More fixes alignment intolerant machines

2007-05-04  Roger While <simrw@sim-basis.de>

	* parser.y, codegen.c, tree.h : Preliminary support for LOCK clause in SELECT

2007-04-30  Roger While <simrw@sim-basis.de>

	* field.c : BINARY-CHAR is always one byte regardless of -std=

2007-04-28  Roger While <simrw@sim-basis.de>

	* codegen.c : If -fimplicit-init is used, we must always honour an EXIT PROGRAM

2007-04-26  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Fix POINTER on alignment intolerant architecture

2007-04-11  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, tree.c, tree.h : Either LINE or COLUMN
	  can be optional on DISPLAY/ACCEPT

2007-04-10  Roger While <simrw@sim-basis.de>

	* typeck.c : Enable runtime numeric checks for ADD/SUBTRACT in debug mode
	  Pass number of delimiters for unstring
	* pplex.l : If -fdebugging-line is specified, treat a "D" in column 7
	  (fixed format) as a space

2007-03-29  Roger While <simrw@sim-basis.de>

	* codegen.c : EXIT PROGRAM should be ignored for main program

2007-03-28  Roger While <simrw@sim-basis.de>

	* field.c : Fix loop caused by ODO field item following ODO clause

2007-03-27  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix warning on 64-bit, display prog id with trace

2007-03-16  Roger While <simrw@sim-basis.de>

	* typeck.c : Do more param checking otherwise we get a cast abort

2007-03-01  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix LOCALE reference, general code cleanup
	* parser.y : Allow LOCALE field reference

2007-02-23  Roger While <simrw@sim-basis.de>

	* parser.y : Fix multiple EXIT PERFORM
	* cobc.c, cobc.h, tree.c, codegen.c : Use separate id fields for attributes,
	  literals and fields

2007-02-13  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, codegen.c : Gen cob_decimal_set_int if required
	* cobc.c : Test -Wno-pointer-sign only with _GNUC_

2007-02-11  Roger While <simrw@sim-basis.de>

	* codegen.c : Change char to int for flags
	* warning.def : Check for non 01/77 levels on CALL params
	  should/is not activated per default (standards)

2007-02-09  Roger While <simrw@sim-basis.de>

	* tree.c, tree.h, typeck.c : Implement SORT-RETURN

2007-02-07  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c, tree.h, reserved.c, scanner.l, codegen.c :
	  Implement LOCALE in special names
	  Implement FUNCTION's LOCALE-DATE, LOCALE-TIME

2007-02-01  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c : A READ/RETURN INTO must not move contents
	  when the AT END/INVALID KEY condition is met.

2007-01-29  Roger While <simrw@sim-basis.de>

	* parser.y, tree.[hc] : Preliminary stuff for LOCALE
	* parser.y, config.def : Implement odo-without-to; For
	  85/2002, an ODO without a TO clause is not allowed

2007-01-26  Roger While <simrw@sim-basis.de>

	* typeck.c : Harden validity tests

2007-01-24  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Implement new SORT routines
	  Note that these no longer need the ISAM handler

2007-01-17  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, tree.c :
	  Add support for OMITTED as parameter to a CALL.
	  Add support for "IF item OMITTED"

2007-01-16  Roger While <simrw@sim-basis.de>

	* reserved.c, tree.c, tree.h : Implement FUNCTIONs
	  SECONDS-PAST-MIDNIGHT, SECONDS-FROM-FORMATTED-TIME

2007-01-15  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Pass field offsets for keys
	* parser.y, tree.c, tree.h, codegen.c, typeck.c : Allow special
	  ASSIGN [TO] DISPLAY

2007-01-10  Roger While <simrw@sim-basis.de>

	* parser.y : A file SORT (as opposed to a table SORT) must have
	  a KEY phrase and a USING or INPUT PROCEDURE and a
	  GIVING or OUTPUT PROCEDURE.
	  A table SORT must not have USING/INPUT or GIVING/OUTPUT.
	* parser.y, tree.c, tree.h, codegen.c, typeck.c : Allow special
	  ASSIGN [TO] KEYBOARD

2007-01-08  Roger While <simrw@sim-basis.de>

	* codegen.c : Implement new cancel processing

2006-12-19  Roger While <simrw@sim-basis.de>

	* parser.y : Fix DECLARATIVES followed by non-section, cleanup
	* flex files cleanup

2006-12-17  Roger While <simrw@sim-basis.de>

	* reserved.c, tree.c, parser.y, codegen.c, scanner.l  : Correct the NUMVAL-C function

2006-12-07  Roger While <simrw@sim-basis.de>

	* reserved.c, tree.c, parser.y : Implement TRIM function

2006-11-28  Roger While <simrw@sim-basis.de>

	* tree.[hc], error.c field.c : Fix incorrect line reporting of FILLER items
	* typeck.c : Use new compare routines

2006-11-18  Roger While <simrw@sim-basis.de>

	* parser.y : Initialize EVALUATE check stack at current level
	  at statement start

2006-11-12  Roger While <simrw@sim-basis.de>

	* pplex.l : Check source suffixes also when a COPY refers to
	  an absolute path name
	  Fix an obscure problem whereby a 2 line data definition
	  following a COPY and the second line was a literal
	  continuation would not compile
	* typeck.c : Remaining cmp/add/sub optimizations

2006-11-06  Roger While <simrw@sim-basis.de>

	* tree.h, typeck.c, error.c, field.c :
	  Fix incorrect line number on redefinition warning
	  Fix abort when ASSIGN data name duplicates SELECT name

2006-10-25  Roger While <simrw@sim-basis.de>

	* parser.y : Allow COBOL standard of INSPECT REPLACING
	  NOTE - TALLYING is still deficient

2006-10-23  Roger While <simrw@sim-basis.de>

	* Makefile.am : Remove gcc options
	  cobc.c : Check for .lib suffix on MSC compile

2006-10-18  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix ODO subscript checking

2006-10-15  Roger While <simrw@sim-basis.de>

	* typeck.c : Use table for optimization
	* cobc.c : Compilation defines generated by codegen
	* codegen.c : Generate optimization defines

2006-10-14  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix a problem with 78 level
	* tree.c, tree.h : Fix abort, clean up and new cb_fits_long_long

2006-09-30  Roger While <simrw@sim-basis.de>

	* codegen.c : Sergey's non-gcc fixes
	* parser.y : Fix an abort with ENTRY
	* general : clean up

2006-08-23  Roger While <simrw@sim-basis.de>

	* scanner.l, tree.c : Fix 78 levels

2006-08-11  Roger While <simrw@sim-basis.de>

	* parser.y, cobc.h, typeck.c : The target of an INSPECT can be
	  a FUNCTION/Literal provided there is only a TALLYING clause

2006-08-09  Roger While <simrw@sim-basis.de>

	* reserved.c : Fix wrong categories for some functions

2006-08-03  Roger While <simrw@sim-basis.de>

	* flags.def, codegen.c : -fimplicit-init, allow libraries
	  to be built.

2006-07-31  Roger While <simrw@sim-basis.de>

	* field.c : Fix COMP-X allocation

2006-07-28  Roger While <simrw@sim-basis.de>

	* scanner.l : Usage of 78 is allowed in PIC clauses
	* typeck.c : Allow 66 as CALL parameter

2006-07-26  Roger While <simrw@sim-basis.de>

	* All : clean up for gcc 4
	* typeck.c, tree.c, tree.h, codegen.c : System routines

2006-07-19  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c : Tighten up field checking
	* All : General clean up

2006-07-14  Roger While <simrw@sim-basis.de>

	* parser.y, field.c : Change EXTERNAL checking

2006-07-12  Roger While <simrw@sim-basis.de>

	* parse.y, reserved.c, tree.h, tree.c typeck.c, codegen.c :
	  Implement ALLOCATE/FREE

2006-07-02  Roger While <simrw@sim-basis.de>

	* tree.c, typeck.c : Check not referenced SELECT

2006-06-28  Roger While <simrw@sim-basis.de>

	* All : Change cob_malloc to cobc_malloc

2006-06-08  Roger While <simrw@sim-basis.de>

	* typeck.c : With --debug, we should be generating subscript checking
	* pplex.l, cobc.c : Change listing output

2006-06-06  Roger While <simrw@sim-basis.de>

	* parser.y : Initialize INDEXED BY fields to 1
	* codegen.c, typeck.c : Optimization for machines that are not alignment tolerant

2006-06-05  Roger While <simrw@sim-basis.de>

	* codegen.c, typeck.c, reserved.c, parser.y :
	  Accept [WITH] [NO] LOCK on READ
	  Accept UNLOCK filename [RECORD[S]]
	  Implement PREVIOUS for IS files

2006-06-02  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix wrongly optimized partial reference

2006-05-27  Roger While <simrw@sim-basis.de>

	* codegen.c : Stack overflow check, implement new cob_fatal_error,
	  fix null ref on cob_current_section/paragraph

2006-05-23  Roger While <simrw@sim-basis.de>

	* parser.y, scanner.l, field.c : Change 78 level processing

2006-05-20  Roger While <simrw@sim-basis.de>

	* warning.def, cobc.c, cobc.h : Change CB_WARNING to CB_WARNDEF
	  Just to simplify as we have an enumerator with this name
	* warning.def, cobc.c, typeck.c : Implement -Wtruncate
	  Thanks to Hans-Martin Rasch for providing the meat of this code.
	  This warns when a MOVE might cause truncation.
	  The option is NOT turned on by -Wall
	* typeck.c : Fixes for extended ACCEPT/DISPLAY

2006-05-18  Roger While <simrw@sim-basis.de>

	* reserved.c, tree.c, codegen.c : Implement FUNCTION's EXCEPTION-FILE,
	  EXCEPTION-STATEMENT, EXCEPTION-LOCATION and EXCEPTION-STATUS
	* codegen.c : Fixes for HP IA64 port

2006-05-13  Roger While <simrw@sim-basis.de>

	* parser.y : Allow slightly different DISPLAY syntax
	* warning.def, typeck.c : Warning option "call-params" to check
	  that CALL parameters are 01 or 77
	* codegen.c : Fix a possible out-of-bounds reference discovered
	  with valgrind

2006-05-12  Roger While <simrw@sim-basis.de>

	* typeck.c : Do not accept 66, 88 levels as USING params
	* parser.y, typeck.c : [NOT] EXCEPTION on ACCEPT/DISPLAY

2006-05-10  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, codegen.c : Prelimary syntax support for
	  CURSOR IS and CRT STATUS IS
	* reserved.c, tree.c, codegen.c : Implement STORED-CHAR-LENGTH (Fujitsu)

2006-05-09  Roger While <simrw@sim-basis.de>

	* parser.y, reserved.c, field.c : Implement BINARY-(CHAR/SHORT/LONG/DOUBLE)
	  and the ACU synonyms (UN)SIGNED-(SHORT/INT/LONG)

2006-05-08  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, typeck.c : Implement TRAILING in INSPECT clause (ACU)

2006-05-06  Roger While <simrw@sim-basis.de>

	* reserved.c, parser.y,codegen.c : PROCEDURE DIVISION CHAINING

2006-05-04  Roger While <simrw@sim-basis.de>

	* codegen.c : Use likely/unlikely macros

2006-05-03  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, codegen.c : Preliminary changes for screen
	  and extended accept/display
	* scanner.l : Allow MF extension from SPECIAL-NAMES SWITCH syntax

2006-05-01  Roger While <simrw@sim-basis.de>

	* All : General clean up
	  Changes for native EBCDIC machines
	  Optimization - See libcob/ChangeLog
	* parser.y, typeck.c : Allow ACU's SET ENVIRONMENT
	* parser.y, typeck.c : Start changes for WHEN partial expression
	* parser.y : Allow CONSOLE [IS] CRT (MF, ACU)
	* cobc.c : Add CPY and cpy to automatically detected COPY extensions
	* codegen.c : Detect gcc < 3 (Doesn't like nested functions)
	* config.c : Fix an enum
	  Allow sign-ebcdic and sign-ascii20
	* pplex.l, scanner.l : Allow underscore '_' in user names (2002 standard)
	* field.c : Implement support for 78 level (MF, ACU)

2006-04-17  Roger While <simrw@sim-basis.de>

	* typeck.c : Optimize cob_add_xxx, cob_cmp_xxx
	  codegen.c, parser.y : Fix SPACE, ZERO in CLASS

2006-04-05  Roger While <simrw@sim-basis.de>

	* field.c : Fix memory allocation when OCCURS at 01 level
	  parser.y, codegen.c : Fix CLASS clause in SPECIAL-NAMES

2006-04-04  Roger While <simrw@sim-basis.de>

	* parser.y : Correctly produce minimal one-line program:
	  PROGRAM-ID. MYPROG.
	* codegen.c, field.c : Run lindent

2006-03-31  Roger While <simrw@sim-basis.de>

	* typeck.c : Fix abort on invalid SET
	  typeck.c, codegen.c, tree.c : Tidy abort reporting
	  Allow usage of ALPHABET names as identifiers

2006-03-30  Roger While <simrw@sim-basis.de>

	* reserved.c, parser.y : Allow DISK in SELECT

2006-03-25  Roger While <simrw@sim-basis.de>

	* cobc.[hc], codegen.c : Allow alternate ASCII/EBCDIC
	  SORT sequence. Exporting environment variable
	  COB_EBCDIC=FULL will activate *at compile time*
	  the full ASCII-EBDIC (256 character) sequence.
	  Otherwise, we use, as it was upto now, the MF
	  sequence.

2006-03-22  Roger While <simrw@sim-basis.de>

	* reserved.c : Fix reserved table sequence (INTO)
	  codegen.c : Fix ASCII/EBCDIC table again

2006-03-22  Roger While <simrw@sim-basis.de>

	* typeck.c : Implement COLLATING on table SORT
	  codegen.c : Update ASCII/EBCDIC table

2006-03-21  Roger While <simrw@sim-basis.de>

	* pplex.l : Fix regression in comma processing

2006-03-20  Roger While <simrw@sim-basis.de>

	* parser.y : Restrict values for CURRENCY SIGN
	  parser.y, typeck.c, tree.h, tree.c, codegen.c :
	  Support for PROGRAM-POINTER and PROCEDURE-POINTER.
	  Allow CALL PROGRAM-POINTER.
	  pplex.l, scanner.l, parser.y : Process comma in expressions

2006-03-16  Roger While <simrw@sim-basis.de>

	* parser.y : Fix param check for PROCEDUE/ENTRY
	  Allow EXTERNAL/DYNAMIC in SELECT
	  typeck.c : Force ref count for display items

2006-03-10  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, tree.c, typeck.c reserved.c :
	  Prepare support for PROGRAM-POINTER and
	  PROCEDURE-POINTER

2006-03-05  Roger While <simrw@sim-basis.de>

	* parser.y : Make syntax more correct

2006-03-04  Roger While <simrw@sim-basis.de>

	* codegen.c : Don't generate NULL params on CALL for !cb_sticky_linkage
	  parser.y : Allow ACU variant of ACCEPT FROM ENVIRONMENT
	  parser.y, tree.h, typeck.c : Implement WHEN SET TO FALSE IS
	  Also SET TO FALSE

2006-03-02  Roger While <simrw@sim-basis.de>

	* tree.c : cb_int cannot use hash table as value may be negative
	* typeck.c : Param to cb_build_memset should be int

2006-02-28  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, tree.c, typeck.c, codegen.c : Handle CONTINUE

2006-02-21  Roger While <simrw@sim-basis.de>

	* typeck.c, codegen.c : Implement new inlines in
	  libcob/codegen.h

2006-02-15  Roger While <simrw@sim-basis.de>

	* parser.y : Check that PROCEDURE/ENTRY USING params
	  are in the LINKAGE SECTION
	  Check for executable program ("-x") and PROCEDURE/ENTRY
	  with USING params

2006-02-12  Roger While <simrw@sim-basis.de>

	* parser.y : Check duplicate ENTRY

2006-02-08  Roger While <simrw@sim-basis.de>

	* parser.y : Fix EVALUATE/88 again
	  parser.y, typeck.c, tree.h : Allow multiple destinations
	  on MOVE CORRESPONDING
	  typeck.c, codegen.c : Optimize COMP/COMP-3

2006-02-02  Roger While <simrw@sim-basis.de>

	* parser.y : Fix EVALUATE and 88 level checking

2006-02-01  Roger While <simrw@sim-basis.de>

	* All : Changes for nested programs
	  Changes for EXTERNAL FD

2006-01-28  Roger While <simrw@sim-basis.de>

	* typeck.c : Optimize move literals, check PROG-ID not = source name
	* parser.y : ID DIV is optional, don't abort on rubbish input,
	  generate "source name" entry point when != PROG-ID

2006-01-26  Roger While <simrw@sim-basis.de>

	* reserved.c : Allow not-reserved for not implemented words

2006-01-25  Roger While <simrw@sim-basis.de>

	* tree.h, tree.c, typeck.c, codegen.c : When using
	  CALL .. RETURNING .. with an OVERFLOW clause, do
	  not overwrite the returning field

2006-01-20  Roger While <simrw@sim-basis.de>

	* parser.y, field.c : Prepare for duplicate paragraph names
	* scanner.l : Fix incorrect parsing
	* field.c : Allow mismatched level numbers based on config
	  parameter relax-level-hierarchy
	* codegen.c : Generate memset instead of memcpy for literals
	  when literal is a repeated character
	* pplex.l : Fix fixed format literal continuation

2006-01-18  Roger While <simrw@sim-basis.de>

	* parser.y : Allow EQUAL in COMPUTE, Fix OBJECT-COMPUTER

2006-01-17  Roger While <simrw@sim-basis.de>

	* cobc.c : Don't warn -x/-m when using -E
	  field.c : Don't allow binary fields > 18 digits

2006-01-08  Roger While <simrw@sim-basis.de>

	* tree.c, field.c, typeck.c : Preliminary support for numeric
	  fields with up to 36 digits

2006-01-07  Roger While <simrw@sim-basis.de>

	* cobc.c : Remove --verbose long option. getopt_long_only
	  has a problem with e.g. -mv
	  Change 'Version' back to 'version'.

2006-01-05  Roger While <simrw@sim-basis.de>

	* General : Bootstrap to new libtool/automake
	* cobc.c [MSC_VER]: MS VS/VC specific changes
	  Get COB_LDFLAGS from config
	* tree.c : Fix invalid picture
	* codegen.c : Non-gcc and MS VS/VC fixes

2006-01-03  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix wrong numeric scan

2005-12-30  Roger While <simrw@sim-basis.de>

	* Change ifdef's on MINGW to WIN32 (Also defined on 64-bit Win)

2005-12-28  Roger While <simrw@sim-basis.de>

	* General : Further fixes for non-gcc
	  codegen.c : Don't use computed goto's for non-gcc

2005-12-27  Roger While <simrw@sim-basis.de>

	* General : Change all occurrences of "char[variable]"
	* typeck.c : Fix huge literal generation
	  Hack for systems that need pointer alignment

2005-12-23  Roger While <simrw@sim-basis.de>

	* reserved.c : Use bsearch

2005-12-19  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix sticky-linkage with ENTRY

2005-12-18  Roger While <simrw@sim-basis.de>

	* All : cleanup of "shadowed" variables
	* codegen.c : File struct initialization
	  Save/restore params for sticky-linkage
	  Generate Ebcdic table when needed

2005-12-13  Roger While <simrw@sim-basis.de>

	* codegen.c : sticky-linkage changes

2005-12-13  Roger While <simrw@sim-basis.de>

	* codegen.c : Do not statically initialize the file structure
	* cobc.c : Change long_opt "version" to "Version"
	* parser.y : Extra EXTERNAL checking

2005-12-09  Roger While <simrw@sim-basis.de>

	* cobc.c : Show a warning to use '-x' for executables.
	* typeck.c : Implement new display code.

2005-12-08  Roger While <simrw@sim-basis.de>

	* cobc.h : New defines - COB_SMALL_BUFF, COB_MEDIUM_BUFF, COB_LARGE_BUFF
	* Relevant files : Replace all occurences of FILENAME_MAX/BUFSIZ
	* codegen.c : Do not use arrays for cob_decimal
	* flags.def : Mark -fmain as deprecated
	* cobc.c : Implement '-x' option (Create executable).
	  Harden buffer checking for command lines.
	  Check illegal option combinations.

2005-12-05  Roger While <simrw@sim-basis.de>

	* tree.c : Take out unnecessary zero clears (Done by cob_malloc)
	* cobc.c : Use the executable extension when stripping

2005-12-04  Roger While <simrw@sim-basis.de>

	* tree.c : Fix buffer usage
	* typeck.c : Fix strftime for MingW

2005-12-04  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix INITIALIZE

2005-11-28  Roger While <simrw@sim-basis.de>

	* parser.y, tree.c, typeck.c : Improve error checking
	* codegen.c : Fix -debug code generation

2005-11-25  Roger While <simrw@sim-basis.de>

	* scanner.l, pplex.l : clean up
	* cobc.c : don't use mkstemp on non-Win, tidy cleanup code,
	  add in bs2000 to help text, getopt includes, put back in -fno-gcse
	* codegen.c : preliminary sticky-linkage code,
	  further mods for perform-osvs

2005-11-09  Roger While <simrw@sim-basis.de>

	* parser.y, tree.h, tree.c : Implement SAME RECORD

2005-11-06  Roger While <simrw@sim-basis.de>

	* parser.y, cobc.h, typeck.c, codegen.c : EXTERNAL changes
	* typeck.c, codegen.c : character test optimization

2005-11-05  Roger While <simrw@sim-basis.de>

	* codegen.c : Preliminary code for perform OSVS

2005-11-04  Roger While <simrw@sim-basis.de>

	* cobc.c : Take out option -no-gcse
	* codegen.c : Don't use arrays for local stack variables
	  Put in experimental (deactivated) setjmp/longjmp code for performs.

2005-11-01  Roger While <simrw@sim-basis.de>

	* codegen.c : Take out attribute aligned. It borks under latest Cygwin.

2005-10-31  Roger While <simrw@sim-basis.de>

	* cobc.c : Cater for -Wno-pointer-check correctly

2005-10-26  Roger While <simrw@sim-basis.de>

	* typeck.c : Remove HAVE_DB ifdef

2005-10-25  Roger While <simrw@sim-basis.de>

	* cobc.c, typeck.c : Add in optimizations (memset/memcpy)

2005-10-14  Roger While <simrw@sim-basis.de>

	* All : More GCC 4 fixes
	* typeck.c : Take out last references to cb_runtime_inlining
	* flag.def : Mark -fruntime_inlining as deprecated in help text

2005-10-13  Roger While <simrw@sim-basis.de>

	* cobc.c : For GCC >= 4, add -Wnopointer-sign

2005-10-06  Roger While <simrw@sim-basis.de>

	* pplex.l : Ignore DATE-MODIFIED

2005-10-06  Roger While <simrw@sim-basis.de>

	* Indent again - typeck.c
	  indents too far - need to look at cb_build_identifier

2005-10-01  Roger While <simrw@sim-basis.de>

	* Indent run on most source
	* typeck.c/codegen.c: Start optimizing -
	  Unsigned numeric (Pic 9) field optimize
	  Retrieval of binary-swap 2,4,8 byte fields
	  Retrieval of 1 byte binary fields always optimized
	  Optimize referencing linkage section items
	  Test/set of 1 byte fields
	* cobc.c : Print patch level for -V (e.g. 0.33.0)

2005-08-07  Roger While <simrw@sim-basis.de>

	* codegen.c : Prototypes, unneeded fields
	* parser.y : unneeded fields
	* config.c : indent

2005-08-04  Roger While <simrw@sim-basis.de>

	* codegen.c : Change initialization point of cob_screen_init
	  Change generated exit to cob_stop_run
	* typeck.c : Typo

2005-07-31  Roger While <simrw@sim-basis.de>

	* parser.y : Fix a DISPLAY usage clash
	* typeck.c : Bump the ref count for the field referred to by an 88
	* codegen.c : Implement program versioning
	  Change the aligned attribute again - Let the compiler do it
	  except if the field is >= 64; then align 64 - Only for
	  Intel/AMD 32-bit (Intel Optimization Manual)
	* cobc.c : Allow -g when optimizing with -Os or -O2

2005-07-14  Roger While <simrw@sim-basis.de>

	* pplex.l : Carriage-return must be ignored if not
	  followed by new-line.

2005-07-14  Roger While <simrw@sim-basis.de>

	* parser.y : Check for START on SEQ file
	* All : Do malloc's through own new routine cob_malloc
	  This will produce an error and terminate if memory
	  cannot be acquired.

2005-07-02  Roger While <simrw@sim-basis.de>

	* scanner.l : Fix bugs in early parsing (Bug list)
	* pplex.l : Fix REPLACING (Bug list)
	* codegen.c : Change cob_module bit fields to char

2005-06-28  Roger While <simrw@sim-basis.de>

	* Cater for FUNCTION's
	* Fix a LENGTH bug
	* Fix the 2 compile warnings in cobc.c

2005-06-13  Roger While <simrw@sim-basis.de>

	* reserved.c : Add in missing 2002 reserved words.

2005-06-11  Roger While <simrw@sim-basis.de>

	* Some cleanups

2005-06-09  Roger While <simrw@sim-basis.de>

	* parser.y : Fix 88 level check for nested EVALUATE's.

2005-06-07  Roger While <simrw@sim-basis.de>

	* parser.y : INITIALIZE WITH FILLER
	* tree.h, tree.c, typeck.c, codegen.c : Handle above and
	  also handle an INITIALIZE on a REDEFINE.

2005-06-04  Roger While <simrw@sim-basis.de>

	* typeck.c : disable optimization until we can do it really.

2005-06-01  Roger While <simrw@sim-basis.de>

	* cobc.c : Include unistd.h for MinGW.
	* field.c : Warning for VALUE on EXTERNAL field.

2005-05-31  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix code for children of external items.
	* field.c, tree.h, tree.c, typeck.c, reserved.c :
	  Rough implementation of COMP-1/2.

2005-05-31  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix false placement of the c.h file.

2005-05-23  Roger While <simrw@sim-basis.de>

	* cobc.c : New option -dynopt
	* codegen.c : cater for -dynopt
	  Optimize dynamic calling
	  Move the include of the c.h down into the internal function.
	  This is necessary for upcoming nested programs.
	* parser.y : cater for optimized dynamic calling.

2005-05-21  Roger While <simrw@sim-basis.de>

	* New file call.def : Defines entry points that will be generated as
	  static calls in COBOL programs.
	  e.g. own C routines or other software entry points that are
	  linked to the main program (or cobcrun).

	* codegen.c : Inline cob_module_xxx, cater for above call.def
	  check for cob_initialized in initialization path

2005-05-15  Roger While <simrw@sim-basis.de>

	* error.c - Change "warning: " to "Warning: " and insert  "Error: ".

2005-05-13  Roger While <simrw@sim-basis.de>

	* cobc.c: Allow multiple input files when producing executable.

2005-05-03  Roger While <simrw@sim-basis.de>

	* tree.h :  bit fields are unsigned. Round to boundaries.
	  typeck.c :Internal register NUMBER-OF-CALL-PARAMETERS.
	  tree.c :  Fix ambiguous paragraph errors.
	  scanner.l :  Move some syntax from the parser to here in the lexxer.
	  pplex.l : Initialize variables.
	  parser.y Move some syntax to the lexer.
	     Initialize variables.
	     Allow MF relaxed syntax.
	     SORT DUPLICATES is default. No need for warning.
	  field.c : Allow larger redefines than original field for
	     -std=cobol2002 and -std=mf.
	  config.def : New variables - larger-redefines-ok and
	     relaxed-syntax-check.
	  codegen.c :  Do not generate unnecessary code e.g. switch
	     statement for only one entry point, loop counters.
	     Cater for NUMBER-OF-CALL-PARAMETERS.
	     Initialize variables.
	     Restructure generated C code.
	     Use builtin_expect.
	  cobc.c :  Initialize variables.
	     Pass -fsigned-char to the compiler.
	     Fix dangling file with multiple compile.
	  cobc.h :  Extern definitions.

2005-04-15  Keisuke Nishida  <knishida@opencobol.org>

	* Makefile.am (cobc_CFLAGS): Add -fsigned-char.

	* codegen.c (output_perform_call): Work around the GCC bug on ppc.
	(Thanks to Tristan Gingold and Tom Murtagh)

2005-03-07  Roger While <simrw@sim-basis.de>

	* cobc.h, config.c, reserved.c :
	  New config variable - not-reserved

2005-03-03  Roger While <simrw@sim-basis.de>

	* cobc.h, tree.h, parser.y, reserved.c, cobc.c, tree.c, codegen.c,
	  typeck.c :
	  Implement LINAGE
	  Implement -Os
	  Implement stripping of main/modules with O2 or Os
	  Fix dangling preprocess file after non-existent file
	  Fix ASSIGN implicit data-item when not referenced
	  Implement some options for gcc >= 3
	  Change an incorrect long to int
	  Change bit fields from long to int

2005-02-22  Roger While <simrw@sim-basis.de>

	* codegen.c : Generated C code indentation
	* typeck.c : Check usage of 66 level with pointer

2005-02-15  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix incorrect cast check,
	  LENGTH OF past as int (COMP-5)

2005-02-15  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix .. BY VALUE LENGTH OF

2005-02-12  Roger While <simrw@sim-basis.de>

	* tree.h, tree.c, typeck.c, field.c, codegen.c :
	  .. BY CONTENT LENGTH OF ..

2005-02-11  Roger While <simrw@sim-basis.de>

	* codegen.c : small optimization and module
	  initialization sequence.

2005-02-09  Roger While <simrw@sim-basis.de>

	* codegen.c : Change order of generating variable
	  assignment. In the generated C header, we now
	  have firstly the item definitions, then the
	  attributes and finally the cob_field items.
	  EXTERNAL variable pointers are generated local
	  to the static prog function.
	  We are fairly close to acieving Keisuke's
	  wish for generating just one source file.

2005-02-08  Roger While <simrw@sim-basis.de>

	* parser.y, codegen.c, tree.h, tree.c
	  Implement EXTERNAL AS Literal

2005-02-08  Roger While <simrw@sim-basis.de>

	* codegen.c : Rearrange generated code slightly
	  Do not gen stack values we do not need
	  Generate static function prototype so that we
	  can gen code in order : main (if appropriate),
	  entry points, static function

2005-02-07  Roger While <simrw@sim-basis.de>

	* cobc.c : Slight change for Cygwin
	* codegen.c : Adjust handling for EXTERNAL items

2005-02-04  Roger While <simrw@sim-basis.de>

	* codegen.c : Fix code gen for tag NULL

2005-02-04  Roger While <simrw@sim-basis.de>

	* parser.y, typeck.c, tree.h, tree.c, reserved.c :
	  implement DISPLAY .. UPON ENVIRONMENT-VALUE
	  implement DISPLAY .. UPON ARGUMENT-NUMBER
	  implement ACCEPT .. FROM ARGUMENT-NUMBER
	  implement ACCEPT .. FROM ARGUMENT-VALUE

2005-02-01  Roger While <simrw@sim-basis.de>

	* cobc.c : Add help text for -std=

2004-11-05  Roger While <simrw@sim-basis.de>

	* codegen.c : readjust align to 8

2004-11-05  Roger While <simrw@sim-basis.de>

	* cobc.h : Print file/line when ABORT()

2004-11-05  Roger While <simrw@sim-basis.de>

	* codegen.c, field.c, tree.c, typeck.c : Handle arithemetic
	  for !binary_trunc.

2004-11-02  Roger While <simrw@sim-basis.de>

	* codegen.c : Thinko by me - Do not exit execution
	  if there is a file USE declarative and no FILE STATUS.

2004-11-01  Roger While <simrw@sim-basis.de>

	* tree.c : Fix bug 1014371 - 88 on POINTER

2004-10-31  Roger While <simrw@sim-basis.de>

	* cobc.c, codegen.c : Activate exceptions for I/O

2004-10-31  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (evaluate_object): Print error in the case when the
	compiler cannot handle the expression correctly.  Need fix.

2004-10-30  Roger While <simrw@sim-basis.de>

	* typeck.c, parser.y, error.c, field.c config.c, tree.c, tree.h,
	  pplex.l : Replace back-tick "'" with quote "'"
	* codegen.c : specify aligned(4) and not just aligned. On IA32,
	  with gcc, default alignment is 16 which is non-optimal.
	  For 64-bit non-Intel platforms we may need 8 here to cater
	  for eventual direct casts for pointers and COMP-1/2 fields.

2004-10-29  Keisuke Nishida  <knishida@opencobol.org>

	* typeck.c (cb_build_length_1): New function.
	(cb_build_length): Create an anonymous index and use it for length.

2004-09-28  Keisuke Nishida  <knishida@opencobol.org>

	* typeck.c (cb_build_move_field): Compare flag_binary_swap for
	numeric moves.  (Thanks to Roger While)

2004-09-07  Keisuke Nishida  <knishida@opencobol.org>

	* tree.c (finalize_file): Use cb_build_implicit_field to create record.

2004-07-06  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (add_statement, add_body, compute_statement, compute_body)
	(divide_statement, divide_body, multiply_statement, multiply_body)
	(subtract_statement, subtract_body): Parse on_size_error before
	emitting the statement.
	* typeck.c (build_store_option): New function.
	(decimal_assign, build_decimal_assign, cb_build_add)
	(cb_build_sub, cb_emit_divide): Updated for the new store scheme
	in libcob.

2004-05-15  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (stop_statement): Accept RETURNING/GIVING phrase.
	* typeck.c, tree.h (cb_emit_stop_run): Take an argument.

2004-05-06  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (procedure_division, entry_statement): Use using_clause.
	* codegen.c (codegen, output_entry_function): Handle using_list
	  with BY REFERENCE/CONTENT/VALUE.
	* typeck.c, tree.h (cb_build_using_list): Removed.
	* cobc.c (process_translate): Do not call codegen when no entry.

2004-05-04  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (x): Accept literal with LENGTH OF operator.
	* typeck.c (cb_build_length): Handle non-references.

2004-05-04  Keisuke Nishida  <knishida@opencobol.org>

	* typeck.c (cb_build_move_field): Optimize when the usage of src
	  and dst are the same, not only when they are DISPLAY.
	  (cb_build_move_high, cb_build_move_low): Really move low/high
	  values to numeric fields.
	  (cb_build_move): Do not convert 0 literal to ZERO.

2004-04-19  Keisuke Nishida  <knishida@opencobol.org>

	* tree.h (cb_perform): New members 'exit_label' and 'cycle_label'.
	* reserved.c (CYCLE): New reserved word.
	* parser.y (exit_statement): EXIT PERFORM [CYCLE] statement.
	* codegen.c (output_perform_once, output_perform): Output labels.

2004-04-07  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (basic_literal, alnum_literal): Literal concatenation.
	* tree.c, tree.h (cb_concat_literals): New function.

2004-04-07  Keisuke Nishida  <knishida@opencobol.org>

	* parser.y (sort_statement): Table sort.
	* typeck.c (cb_emit_sort_init): Updated for table sort.

2004-03-30  Keisuke Nishida  <knishida@opencobol.org>

	* tree.c (cb_ref): Resolve by file name.

2004-03-29  Keisuke Nishida  <knishida@opencobol.org>

	* cobc.c (process_link) [__CYGWIN__, __MINGW32__]: Set
	  -Wl,--export-all-symbols instead of -Wl,--export-dynamic.
	  (Thanks to peg@coboler.com)

2004-03-12  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* cobc.c (process_module, process_link): Modify compile options
	  for Win32.

2004-03-10  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* parser.y (lock_mode_clause): Full parse without codegen.
	* reserved.c (AUTOMATIC, EXCLUSIVE, MANUAL, ROLLBACK): New words.

2004-03-10  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* codegen.c (output_call): Byte swap for literals.

2004-03-10  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* parser.y (assignment_name): Accept qualified_word.

2004-03-08  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* config.def (cb_synchronized_clause): New option.
	* field.c (compute_size): Handle the SYNCHRONIZED clause.
	* tree.c, tree.h (cb_field_align_size): Removed.

2004-03-08  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* pplex.l (switch_to_buffer): Duplicate file name.

2004-03-06  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* codegen.c (output_base): Always align the 01 items.
	* field.c (compute_size): No alignment for now.
	* tree.c, tree.h (cb_field_need_aligned): Removed.

2004-03-06  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* reserved.c (system_table): Add "SYSLST".

2004-03-06  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* typeck.c (cb_build_move): Handle cb_error_node.
	  (cb_build_add, cb_build_sub): Native arithmetic for pointers.

2004-03-06  Keisuke Nishida  <knishida@wind.sannet.ne.jp>

	* cobc.c: Use _WIN32 instead of __CYGWIN__ or __MINGW32__.

2003-05-21  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cb_class, cb_category): New enums.

2003-05-19  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.h (CB_STANDARD_GNU): New standard.
	* cobc.h, cobc.c (cb_standard): Default compiler is now gnu.

2003-05-18  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (short_options): New option '-O'
	* flag.def (cb_flag_inline_get_int, cb_flag_inline_move): New flags.
	* codegen.c (output_int32): Inlining cob_get_int.
	  (output_move): Inlining cob_move.

2003-05-06  Keisuke Nishida  <knishida@netlab.jp>

	* flag.def (cb_flag_check_numeric): Removed.
	  (cb_flag_check_subscript): Removed.
	  (cb_flag_check_ref_mod): Removed.
	* warning.def (cb_warn_obsolete): New variable.
	* cobc.h (cb_standard, cb_binary_rep): New variables.
	  (cb_exception_table): New variable.
	  (CB_EXCEPTION_CODE, CB_EXCEPTION_NAME, CB_EXCEPTION_ENABLE): New macro.
	* cobc.c (long_options): New option -std and -debug.
	  (short_options): Remove -T.
	  (process_command_line): Handle new/old options.
	  (cb_obsolete, cb_unconformable): New functions.
	* tree.c (compute_size): Compute size depending on cb_binary_rep.
	* parser.y (push_file_handler): New macro.

2003-05-04  Keisuke Nishida  <knishida@netlab.jp>

	* flag.def: New file.

2002-11-01  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (resolve_predefined_names): Call recursively.

	* tree.h (YYLTYPE): Moved from parser.y.

2002-10-30  Keisuke Nishida  <knishida@netlab.jp>

	* inline.c (output_search): Move index to variable.
	* inline.c (output_search_all): Unified 'cmp' variable.

2002-10-30  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_perform_until): Merge 'output_perform_before'
	  and 'output_perform_after'.
	  (output_perform): Call 'output_perform_until'.

2002-10-08  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.h (cobc_program_spec): New member 'loop_counter'.
	* parser.y (perform_option): Increment loop_counter.
	* codegen.c (loop_counter, loop_counter_max): Removed.
	  (output_perform): Declare loop_counter as a local variable.
	  (global_label, output_switch): Removed.
	  (output_perform_call): Don't use global_label.
	  (codegen): Merge codegen_1.  Traverse the tree only once.

2002-10-06  Keisuke Nishida  <knishida@netlab.jp>

	* Integrate numeric expressions and conditional expressions.
	* tree.h (cobc_tag_cond, cobc_cond_type, cobc_cond): Removed.
	  (make_negative): New macro.
	* tree.c (make_expr): Build conditional as well.
	  (make_cond, make_negative): Removed.
	* codegen.c, inline.c, parser.y: Updated.

2002-10-06  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_evaluate): Removed.
	* tree.c (make_evaluate): Removed.
	* codegen.c (output_tree): Do not handle cobc_evaluate.
	  (output_evaluate, output_evaluate_test): Removed.
	* parser.y (make_evaluate, make_evaluate_test): Build evaluate tree.

2002-10-02  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (CONDITIONAL_NAME): Removed.
	  (condition_name_list, condition_name, qualified_cond_name): Removed.
	  (data_name, expr_item): Handle conditional names here.
	* scanner.l: Don't return CONDITIONAL_NAME.

2002-10-02  Keisuke Nishida  <knishida@netlab.jp>

	* Rename 'label_name' to 'label'.
	* Rename 'file_name' to 'file'.

2002-10-01  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_tag_register, cobc_register): Removed.
	* tree.c (make_register): Removed.

2002-09-30  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.h (COBC_PACKAGE): Use PACKAGE_NAME.

2002-09-29  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_file_name): Updated for new cob_file scheme.
	* parser.y (sort_keys): Rename 'cob_sort_keys' to 'cob_sort_init'.

2002-09-28  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c (init_constants): Typo fixed.  Thanks to Mike Black.

2002-09-24  Keisuke Nishida  <knishida@netlab.jp>

	* scanner.l: Do not support single-quoted strings.

2002-09-24  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (codegen_1): Do not support non-computed-goto jump.

2002-09-24  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_parameter): Renamed from cobc_generic.
	All files updated.

2002-09-24  Keisuke Nishida  <knishida@netlab.jp>

	* inline.c (output_call_statement): Output the pointer to the
	content length for COBC_CALL_BY_LENGTH.

2002-09-23  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (process_translate): Verbose output.

2002-09-17  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (probe_source_format): Removed.
	(preprocess): Don't set source format.
	(process_command_line): Set cobpp flags here.

2002-09-17  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (COBC_CALL_BY_LENGTH): New macro.
	* reserved.c (reserved_words): Add LENGTH.
	* parser.y (call_mode): Add CONTENT LENGTH.
	* inline.c (output_call_statement): Handle COBC_CALL_BY_LENGTH.

2002-09-13  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_field): Remove 'category'.  Related files updated.
	* tree.c (setup_parameters): Merge 'validate_field' and 'setup_cname'.
	* parser.y (validate_field): Removed.

2002-09-12  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (temp_name): Call GetTempFileName with 3rd argument 0.
	Call DeleteFile to remove the temporary file.

2002-09-12  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (validate_field_tree): Validate groups not having PICTURE.
	(validate_field_tree): Create PICTURE of INDEX here, not in USAGE.

2002-09-09  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (ambiguous_error): display all fields with the same name.
	(occurs_index): Use undefined_word.  Set cobc_location.

2002-08-29  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (temp_name): Use GetTempFileName on MinGW.

2002-08-28  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (terminate): Renamed from 'error'.
	(temp_name): Use GetTempPath on MinGW environment.

2002-08-20  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y: No support of comments in IDENTIFICATION DIVISION.
	(AUTHOR, DATE_WRITTEN, DATE_COMPILED, INSTALLATION, SECURITY): Removed.
	(identification_division_options, identification_division_option)
	(comment): Removed.
	* reserved.c (reserved_words): Removed the tokens above.
	* scanner.h, scanner.l (cobc_skip_comment): Removed.
	* scanner.l: Don't handle the case of cobc_skip_comment.

2002-08-20  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c: New option -semi-fixed.

2002-08-02  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_compare): Use the new cob_cmp_all scheme.

2002-08-01  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y, reserved.c: SORT and MERGE support.

2002-08-01  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_key): Define 'dir' as int.
	Use COB_ASCENDING or COB_DESCENDING for this.
	* inline.c (output_search_all): Updated.
	* parser.y (ascending_or_descending): Updated.

2002-08-01  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (occurs_clause): Use predefined_name for DEPENDING ON.
	(record_depending): Set 'record_depending' directly.

2002-07-31  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.h (cobc_program_spec): Renamed from 'program_spec'.
	* parser.y (program_spec): Updated.
	* codegen.c: (output_switch): New variable.
	(output, output_newline, output_prefix, output_line): Updated.
	(loop_counter, loop_counter_max): New variables.
	(codegen_1): Renamed from codegen.  Set counter variables.
	(codegen): New function.
	(output_perform): Use loop_counter.

2002-07-31  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (codegen): Return cob_return_code from main.

2002-07-30  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c, tree.h (make_perform_once): New function.

2002-07-26  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y: Accept SD clause.

2002-07-26  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c (make_word): Take constant and duplicate the name.

2002-07-22  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (FUNCTION_NAME): Defined as the string type.
	* scanner.l (FUNCTION_STATE): Set value for FUNCTION_NAME.

2002-07-22  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (display_with_no_advancing): Fixed port number.

2002-07-08  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_field): Support literals.
	(output_file_name): Output ASSIGN clause.
	* parser.y (open_list): Call "cob_open" without file name.

2002-07-08  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_field): New function.
	(output_file_name): Use it.

2002-07-05  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (screen_description): Set default line/column.
	* codegen.c (output_screen_definition): Updated.
	Handle COB_SCREEN_TYPE_ATTRIBUTE.

2002-07-04  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_file_name): Rename 'cob_file_desc' to 'cob_file'.

2002-07-04  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_field_definition): New arguments 'gen_data'
	and 'gen_filler'.
	(output_file_name, codegen): Updated.
	* parser.y (screen_option): Set LINE/COLUMN flags appropriately.
	(screen_plus_minus): PLUS/MINUS flags.

2002-07-03  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (program_sequence): Removed.

2002-07-01  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_field): New members: f.screen, screen_line,
	screen_column, screen_from, screen_to, and screen_flag.
	* codegen.h (screen_storage): New members: enable_screen and
	screen_storage.
	* codegen.c (output_screen_definition): New function.
	(output_tree): Output screen data.
	(codegen): Output screen definition.
	* parser.y (special_name): Add CURSOR and CRT STATUS.
	(screen_section): New rules.
	(accept_statement, display_statement): Support screen data.
	* reserved.c (reserved_words): Add related tokens.

2002-06-26  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c (compute_size): Handle SIGN SEPARATE only for numeric fields.
	* parser.y (validate_field): Don't throw error for multiple redefines.

2002-06-26  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c, cobc.h (cobc_flags): New variable.
	(LINK_STATIC, LINK_DYNAMIC): Removed.
	(cobc_main_flag, cobc_debug_flag, cobc_verbose_flag)
	(cobc_optimize_flag, cobc_failsafe_flag, cobc_link_style): Removed.
	* codegen.c (codegen, output_expr, output_line_directive): Updated.
	* inline.c (output_call_statement): Updated.

2002-06-24  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (delete_statement, read_statement, start_statement)
	(write_statement): set $$ instead of current_file_name.
	(at_end, opt_invalid_key): Updated.

2002-06-18  Keisuke Nishida  <knishida@netlab.jp>

	* Makefile.am (cobc_LDADD): Add LIBCOB_LIBS.

2002-06-17  Keisuke Nishida  <knishida@netlab.jp>

	* inline.c, inline.h (output_call_statement): Take st1 and st2.
	* parser.y (call_mode): Renamed from 'current_call_mode'.
	(call_statement): Updated and clean up.

2002-06-11  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (process_module): Use COB_MODULE_EXT.
	Don't use -soname.

2002-06-11  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c: Use 'cob_alnum_desc' where appropriate.

2002-06-11  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_field_definition): Output NULL for
	cob_field.desc when it is a group.

2002-06-11  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c, inline.c: Updated for the change in libcob that
	moved the 'size' field from cob_field_desc to cob_field.

2002-06-09  Keisuke Nishida  <knishida@netlab.jp>

	* tree.h (cobc_field): New member 'in_redefines'.
	* parser.y (validate_field): Set 'in_redefines' and validate REDEFINES.
	Display error if a field under REDEFINES has VALUE clause.
	(init_field): Inherit the 'in_redefines' flag.

2002-06-09  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c (make_tree, make_picture, make_word): Use memset to
	initialize the memory allocated.
	(make_literal, make_field, make_file_name, make_label_name_nodef)
	(make_perform): Let make_tree initialize the memory by zero.

2002-06-08  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (long_options): Accept '-main' option.
	* cobc.c, cobc.h: New variable cobc_main_flag, removed cobc_module_flag
	* codegen.c (OUTPUT_HANDLER): Removed.
	* codegen.c (codegen): Updated.
	* parser.y (procedure_using): Don't show -m warning.

2002-06-06  Keisuke Nishida  <knishida@netlab.jp>

	* inline.c (search_set_keys): Dont check syntax error.
	* parser.y (search_statement): Check syntax error here.
	* parser.y (resolve_predefined_name): Return filler on error.

2002-06-06  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (codegen): Always generate program function,
	putting main() at the end.

2002-06-06  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (process_command_line, print_usage): Activate -g.

2002-06-05  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (print_usage): Don't show -g.

2002-06-04  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_perform_call): New function.
	* codegen.c (output_perform_once): Use 'output_perform_call'.
	* inline.c (output_file_handler): Use 'output_perform_call'. Cleanup.

2002-06-04  Keisuke Nishida  <knishida@netlab.jp>

	* Makefile.am (cobc_CFLAGS): -I$(top_srcdir), not -I$(top_srcdir)/lib.
	* cobc.c, parser.y, scanner.l: Updated.

2002-06-03  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (init_environment): Recognize COB_LDADD.

2002-06-03  Keisuke Nishida  <knishida@netlab.jp>

	* Makefile.am: Add libsupport.a to cobc_LDADD, removed cobc_LIBS

2002-05-31  Keisuke Nishida  <knishida@netlab.jp>

	* functions.h: Removed.
	* tree.h (cobc_call): New field 'name' and 'func'.  Remove 'tag'.
	(make_call): Exported
	(make_call_0, make_call_1, make_call_2, make_call_3, make_call_4):
	Defined as macros.
	(make_inline_0, make_inline_1, make_inline_2, make_inline_3,
	make_inline_4, make_call_1_list): New macros.
	* tree.c (make_call): Updated and Exported.
	(make_call_0,make_call_1,make_call_2,make_call_3,make_call_4): Removed.
	* inline.c, codegen.h: (output_goto, output_goto_depending,
	output_move, output_initialize, output_initialize_replacing,
	output_display, output_search, output_search_all,
	output_call_statement): Exported.
	* codegen.c, codegen.h: Don't include functions.h.
	* codegen.c (output_call): Updated.
	* parser.y: Updated.
	(push_call_1_list, push_inline_0, push_inline_1, push_inline_2,
	push_inline_3, push_inline_4): New macros.
	* Makefile.am (cobc_SOURCES): Updated.

2002-05-31  Keisuke Nishida  <knishida@netlab.jp>

	* Display index name with the error message.
	* codegen.c (output_refmod_offset, output_length)
	* codegen.c (output_field_definition): Updated.

2002-05-31  Keisuke Nishida  <knishida@netlab.jp>

	* tree.c, tree.h (cobc_return_code): New variable.
	* parser.y (call_returning): Move RETURN-CODE to RETURNING field.
	* inline.c (output_move_index): New function.
	* inline.c (output_call_statement): Don't take ret.

2002-05-31  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_expr): Give field name to cob_check_numeric.
	* codegen.c (output_field_definition): No longer output field name.

2002-05-29  Keisuke Nishida  <knishida@netlab.jp>

	* parser.y (expr_item_list): Better source location.
	* codegen.c (output_compare): Take additional argument for better
	  source location.
	* codegen.c (output_condition): Updated.
	* inline.c (output_search_all): Updated.

2002-05-29  Keisuke Nishida  <knishida@netlab.jp>

	* codegen.c (output_recursive): Process top-level redefinition.

2002-05-29  Keisuke Nishida  <knishida@netlab.jp>

	* Keep field names at run-time.
	* codegen.c (output_field_definition): Output field name.

2002-05-29  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c: Rename 'COB_LDADD' to 'COB_LIBS'

2002-05-29  Keisuke Nishida  <knishida@netlab.jp>

	* cobc.c (cobc_verbose_flag): New variable.
	* cobc.c (short_options, long_options): New option -v and --verbose.
	* cobc.c (process_command_line): Handle -v option.
	* cobc.h (cobc_verbose_flag): Declared.


Copyright 2002-2020 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification, are
permitted provided the copyright notice and this notice are preserved.
