I am trying to add a task to compile a program but am having difficulty with setting environment variables. I have this:
{
// See https://go.microsoft.com/fwlink LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"label": "GnuCOBOL - Compile (single file)",
"type": "shell",
"options": {
"env": {
"PATH=c:\\gnucobol3\\bin"
"COB_CONFIG_DIR=c:\\gnucobol3\\config"
"COB_COPY_DIR=c:\\gnucobol3\\copy"
"COB_INCLUDE_PATH=c:\\gnucobol3\\include"
"COB_LIB_PATH=c:\\gnucobol3\\lib"
},
"command": "cobc",
"args": [
"-x",
"-std=mf",
"-tPROG.LST",
"BBCB.CBL"
]
},
}
The env entries all have squiggly lines underneath and show errors "Colon expected".
I'd appreciate some help. Thanks.