mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'macox_fixes' into build_enhancement
Conflicts: test/solidityNatspecJSON.cpp
This commit is contained in:
commit
ce5e6ce67b
@ -255,7 +255,22 @@ bool CommandLineInterface::processInput()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
for (string const& infile: m_args["input-file"].as<vector<string>>())
|
for (string const& infile: m_args["input-file"].as<vector<string>>())
|
||||||
|
{
|
||||||
|
auto path = boost::filesystem::path(infile);
|
||||||
|
if (!boost::filesystem::exists(path))
|
||||||
|
{
|
||||||
|
cout << "Skipping non existant input file \"" << infile << "\"" << endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!boost::filesystem::is_regular_file(path))
|
||||||
|
{
|
||||||
|
cout << "\"" << infile << "\" is not a valid file. Skipping" << endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
m_sourceCodes[infile] = asString(dev::contents(infile));
|
m_sourceCodes[infile] = asString(dev::contents(infile));
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user