Commit e85f2c71 authored by rdubner's avatar rdubner

Version 4.10 -- COBCD keeps .h files around when .c files are kept around

parent 6c208398
2020-12-09 Bob Dubner <rdubner@symas.com>
* Release 4.10 -- depends on GnuCOBOL 3.1.1
* Change COBCD so that when a .c file is not cleaned up, neither are the .h files
2020-12-09 Bob Dubner <rdubner@symas.com>
* Release 4.9 -- depends on GnuCOBOL 3.1.1
* Modify COBCD script so that -fsource-location is no longer used in COBC invocation
2020-11-30 Bob Dubner <rdubner@symas.com>
* Release 4.8
* COBCD behavior for -x, -m, -C, -S, -b, and -c matches COBC
......
......@@ -243,7 +243,7 @@ def Main() :
## The text "Version x.x" has to appear in square brackets. #
## Don't mess with it! #
###########################################################################
SCRIPT_VERSION="[Version 4.9]"
SCRIPT_VERSION="[Version 4.10]"
show_time = os.environ.get("SHOW_TIME","0")
SHOW_TIME = False
......@@ -466,7 +466,6 @@ def Main() :
to_be_deleted = []
keepers = []
end_early = False
index=0
for param in params :
......@@ -937,6 +936,15 @@ def Main() :
shutil.move(file,dest)
if cleaning_up :
for file in keepers :
extension = file.split('.')[-1]
if extension == 'c' :
## If .c is a keeper, then we have to keep all the
## .h files around as well Setting DASH_BIGC at this
## point is an easy way of doing that
DASH_BIGC = 'xxx'
break;
for file in to_be_deleted :
if file not in keepers :
extension = file.split('.')[-1]
......
......@@ -7,7 +7,7 @@ SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
::## Don't mess with it! #
::###########################################################################
::
set VERSION=[Version 4.9]
set VERSION=[Version 4.10]
::
::
:: Stupendously useful:
......
......@@ -4,4 +4,4 @@
// On the Unix side, there is scripting trickery to propogate this version
// code into cobcd.py and the names of packages when they are created.
#define VERSION "4.9"
#define VERSION "4.10"
......@@ -2473,7 +2473,7 @@ class CPrint (gdb.Command) :
self.TabFile = TabFileInformation();
self.TabFile.question_mark_range = self.Worker.question_mark_range
print('Registering CPrint (Usage is "' + self.Worker.use_cprint + ' <COBOL identifier>") [Version 4.9]')
print('Registering CPrint (Usage is "' + self.Worker.use_cprint + ' <COBOL identifier>") [Version 4.10]')
super (CPrint, self).__init__ (self.Worker.use_cprint, gdb.COMMAND_USER)
def invoke (self, arguments, from_tty):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment