mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge remote-tracking branch 'upstream/develop' into evmjit
This commit is contained in:
commit
7e015ae723
@ -272,7 +272,7 @@ bool CommandLineInterface::processInput()
|
|||||||
while (!cin.eof())
|
while (!cin.eof())
|
||||||
{
|
{
|
||||||
getline(cin, s);
|
getline(cin, s);
|
||||||
m_sourceCodes["<stdin>"].append(s);
|
m_sourceCodes["<stdin>"].append(s + '\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -345,18 +345,11 @@ bool CommandLineInterface::processInput()
|
|||||||
void CommandLineInterface::handleAst(string const& _argStr)
|
void CommandLineInterface::handleAst(string const& _argStr)
|
||||||
{
|
{
|
||||||
string title;
|
string title;
|
||||||
string suffix;
|
|
||||||
|
|
||||||
if (_argStr == g_argAstStr)
|
if (_argStr == g_argAstStr)
|
||||||
{
|
|
||||||
title = "Syntax trees:";
|
title = "Syntax trees:";
|
||||||
suffix = ".ast";
|
|
||||||
}
|
|
||||||
else if (_argStr == g_argAstJson)
|
else if (_argStr == g_argAstJson)
|
||||||
{
|
|
||||||
title = "JSON AST:";
|
title = "JSON AST:";
|
||||||
suffix = ".json";
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Illegal argStr for AST"));
|
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Illegal argStr for AST"));
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ RUN apt-get install -qy automake libtool yasm scons
|
|||||||
|
|
||||||
RUN useradd -ms /bin/bash user
|
RUN useradd -ms /bin/bash user
|
||||||
USER user
|
USER user
|
||||||
|
ENV HOME /home/user
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
|
|
||||||
# Emscripten SDK
|
# Emscripten SDK
|
||||||
|
Loading…
Reference in New Issue
Block a user