Parsing for inline assembly.

This commit is contained in:
chriseth
2016-03-30 02:37:00 +02:00
parent 8236732e9a
commit 949b00ed59
19 changed files with 630 additions and 16 deletions
+12
View File
@@ -171,6 +171,13 @@ bool ASTPrinter::visit(ArrayTypeName const& _node)
return goDeeper();
}
bool ASTPrinter::visit(InlineAssembly const& _node)
{
writeLine("InlineAssembly");
printSourcePart(_node);
return goDeeper();
}
bool ASTPrinter::visit(Block const& _node)
{
writeLine("Block");
@@ -433,6 +440,11 @@ void ASTPrinter::endVisit(ArrayTypeName const&)
m_indentation--;
}
void ASTPrinter::endVisit(InlineAssembly const&)
{
m_indentation--;
}
void ASTPrinter::endVisit(Block const&)
{
m_indentation--;