From c4bfcec72833b54a6650db3e8779a0b3574d8af0 Mon Sep 17 00:00:00 2001 From: Lars Egeberg Hansen Date: Fri, 20 Oct 2023 08:29:30 +0200 Subject: [PATCH] GNUcobol option changed from -x to -xj --- vs-code-extension/Cobol-check/scripts/linux_gnucobol_run_tests | 2 +- .../Cobol-check/scripts/windows_gnucobol_run_tests.cmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vs-code-extension/Cobol-check/scripts/linux_gnucobol_run_tests b/vs-code-extension/Cobol-check/scripts/linux_gnucobol_run_tests index bed96b28..2c05b9e3 100755 --- a/vs-code-extension/Cobol-check/scripts/linux_gnucobol_run_tests +++ b/vs-code-extension/Cobol-check/scripts/linux_gnucobol_run_tests @@ -6,6 +6,6 @@ # GnuCOBOL 2.2 or later is installed and on the path. Its executable or alias or symlink is named "cobc". cd "$(dirname $1)" -cobc -x $@ +cobc -xj $@ name=$(echo "$1" | cut -f 1 -d '.') "${name}" diff --git a/vs-code-extension/Cobol-check/scripts/windows_gnucobol_run_tests.cmd b/vs-code-extension/Cobol-check/scripts/windows_gnucobol_run_tests.cmd index 87ed777a..d04a599c 100644 --- a/vs-code-extension/Cobol-check/scripts/windows_gnucobol_run_tests.cmd +++ b/vs-code-extension/Cobol-check/scripts/windows_gnucobol_run_tests.cmd @@ -6,5 +6,5 @@ rem rem GnuCOBOL 3.+ is installed and on the path. Its executable or alias or symlink is named "cobc". %~d1 cd %~p1 -cobc -x %* +cobc -xj %* %~n1