PR# 19471 ECF redirection with location containing an undefined environment variable

Problem Report Summary
Submitter: gobobe
Category: Compiler
Priority: Medium
Date: 2018/10/09
Class: Bug
Severity: Non-critical
Number: 19471
Release: 18.07
Confidential: No
Status: Closed
Responsible:
Environment: win
Synopsis: ECF redirection with location containing an undefined environment variable

Description
When I have the following:

     <library name="free_elks" location="$GOBO/library/free_elks/library_${GOBO_EIFFEL}.ecf"/>

and the variable ${GOBO_EIFFEL} is not defined (or is defined as an empty string), it will correctly read the file library_.ecf.

But when the same location appears in an ECF redirection file, the compiler will complain:

-------------------------------------------------------------------------------
Error code: VD00

General configuration parsing error.
What to do: fix the configuration file.

Could not open file: C:\gobo\library\free_elks\library_${GOBO_EIFFEL}.ecf
-------------------------------------------------------------------------------
To Reproduce

										
Problem Report Interactions
From:gobobe    Date:2018/10/10    Status: Closed    Download   

											
											
											
From:jfiat_es    Date:2018/10/10    Status: Closed    Download   

											
											
											
From:jfiat_es    Date:2018/10/10    Status: Analyzed    Download