aboutsummaryrefslogtreecommitdiffstats
path: root/solc
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-08-07 00:52:49 +0800
committerChristian Parpart <christian@ethereum.org>2018-08-07 20:55:22 +0800
commit39ffd7500e68e1603cead1a8473c1fb990fbab8f (patch)
treee16672177bf8489e8bfa08861c709f8a237e8017 /solc
parentd33e5683f51dc9d85b4493abbf6f03f6ab7b8ff2 (diff)
downloaddexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar.gz
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar.bz2
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar.lz
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar.xz
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.tar.zst
dexon-solidity-39ffd7500e68e1603cead1a8473c1fb990fbab8f.zip
solc: Fixes double-quoting path names on stderr and adds tests for it.
Before it was possible to get a failure message, such as: ""notfound.sol"" is not found whereas it should be: "notfound.sol" is not found.
Diffstat (limited to 'solc')
-rw-r--r--solc/CommandLineInterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp
index 6a768a00..6dd8fac0 100644
--- a/solc/CommandLineInterface.cpp
+++ b/solc/CommandLineInterface.cpp
@@ -416,11 +416,11 @@ bool CommandLineInterface::readInputFilesAndConfigureRemappings()
{
if (!ignoreMissing)
{
- cerr << "\"" << infile << "\" is not found" << endl;
+ cerr << infile << " is not found." << endl;
return false;
}
else
- cerr << "\"" << infile << "\" is not found. Skipping." << endl;
+ cerr << infile << " is not found. Skipping." << endl;
continue;
}
@@ -429,11 +429,11 @@ bool CommandLineInterface::readInputFilesAndConfigureRemappings()
{
if (!ignoreMissing)
{
- cerr << "\"" << infile << "\" is not a valid file" << endl;
+ cerr << infile << " is not a valid file." << endl;
return false;
}
else
- cerr << "\"" << infile << "\" is not a valid file. Skipping." << endl;
+ cerr << infile << " is not a valid file. Skipping." << endl;
continue;
}