Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cbl-gdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simon Sobisch
cbl-gdb
Commits
ec549daa
Commit
ec549daa
authored
Aug 25, 2020
by
rdubner
Browse files
Options
Browse Files
Download
Plain Diff
Merge after minor bookkeeping error
parents
e2143168
b7073a9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
3 deletions
+38
-3
cobcd
cobcd
+36
-1
include/version.h
include/version.h
+1
-1
python/cobcd.py
python/cobcd.py
+1
-1
No files found.
cobcd
View file @
ec549daa
...
...
@@ -175,7 +175,6 @@ def Main() :
print
(
"Use it as you would 'cobc'"
)
os
.
_exit
(
1
)
## We need to know the directory that our script is in.
SCRIPTDIR
=
os
.
path
.
abspath
(
sys
.
argv
[
0
]).
replace
(
'
\\
'
,
'/'
).
split
(
'/'
)[
0
:
-
1
]
SCRIPTDIR
=
'/'
.
join
(
SCRIPTDIR
)
...
...
@@ -567,6 +566,42 @@ def Main() :
print
(
"Copying"
,
PYTHON
,
"to"
,
DEST
)
shutil
.
copyfile
(
PYTHON
,
DEST
)
#^# ## And we have a debuggable executable
#^#
#^# ## Some operating systems, notably Windows, require that a
#^# ## copy of the Python code be placed next to the executable:
#^# if [ "$result" = "0" ]; then
#^# if [ -z $DASH_S ] && [ -z $DASH_F ]
#^# then
#^# ## Because we didn't embed a pointer or the script, we need to
#^# ## make a local copy
#^# if [ -f $PYTHON ]
#^# then
#^# if [ -z $PYTHON_DESTINATION ]
#^# then
#^# ## The destination is the first thing after the -o:
#^# PYTHON_DESTINATION=$(echo $FINAL_COMMAND | sed 's/.* -o //' | cut -d ' ' -f 1)
#^# PYTHON_DESTINATION=$(realpath $PYTHON_DESTINATION)
#^# PYTHON_DESTINATION=$(dirname $PYTHON_DESTINATION)
#^# echo $PYTHON_DESTINATION
#^# fi
#^# if [ -z $PYTHON_NAME ]
#^# then
#^# PYTHON_NAME="$FILE_ROOT-gdb.py"
#^# fi
#^#
#^# if [ $ECHO ]
#^# then
#^# echo "cp $PYTHON $PYTHON_DESTINATION/$PYTHON_NAME"
#^# fi
#^# cp $PYTHON $PYTHON_DESTINATION/$PYTHON_NAME
#^# else
#^# echo ERROR: "Couldn't find a copy of cobcd.py"
#^# fi
#^# fi
#^# fi
#^#
>>>>>>>
b7073a9eaa22a2b31441155e289452a39c13dbbd
if
COBCDNOCLEAN
==
""
:
## We are supposed to be cleaning up after ourselves:
DeleteAFile
(
FILE_S
)
...
...
include/version.h
View file @
ec549daa
...
...
@@ -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 "3.1
4
"
#define VERSION "3.1
6
"
python/cobcd.py
View file @
ec549daa
...
...
@@ -3319,7 +3319,7 @@ if 'gdb' in sys.modules :
## The text "Version x.x" has to appear in square brackets. #
## Don't mess with it! #
###########################################################################
print
(
'registering CPrint (Usage is "print <COBOL identifier>") [Version 3.1
4
]'
)
print
(
'registering CPrint (Usage is "print <COBOL identifier>") [Version 3.1
6
]'
)
self
.
Worker
=
CPrintWorker
()
self
.
TabFile
=
TabFileInformation
();
self
.
TabFile
.
question_mark_range
=
self
.
Worker
.
question_mark_range
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment