diff options
author | Tomohiro <gpuppur@gmail.com> | 2019-01-18 17:00:32 +0900 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-18 09:00:32 +0100 |
commit | 4b4e4fc029d3f151c1e8bcdafc1d9b381a7142a6 (patch) | |
tree | 1a07696f06ce8a379da7c22a355de4b14ec43525 /tools/vccexe | |
parent | 1e63f1edb3fa594bcdce39eb5195d5f5d2644e67 (diff) | |
download | Nim-4b4e4fc029d3f151c1e8bcdafc1d9b381a7142a6.tar.gz |
Fix unhandled exception that raised when nim was executed with --cc:vcc option (#10356)
Diffstat (limited to 'tools/vccexe')
-rw-r--r-- | tools/vccexe/vccenv.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vccexe/vccenv.nim b/tools/vccexe/vccenv.nim index 6ddf2e29a..724fe992a 100644 --- a/tools/vccexe/vccenv.nim +++ b/tools/vccexe/vccenv.nim @@ -44,4 +44,4 @@ proc vccEnvVcVarsAllPath*(version: VccEnvVersion = vsUndefined): string = let key = $version let val = getEnv key if val.len > 0: - result = expandFilename(val & vcvarsallRelativePath) + result = try: expandFilename(val & vcvarsallRelativePath) except OSError: "" |