libyul: Adds Comment as new AST node type, to be used for pretty printing (and preserving) comments in yul-format.

This commit is contained in:
Christian Parpart
2019-06-19 12:48:12 +02:00
parent cfbbb194d1
commit ee572ee138
16 changed files with 50 additions and 2 deletions
+4
View File
@@ -116,6 +116,10 @@ public:
boost::apply_visitor(*this, s);
}
void operator()(yul::Comment const&)
{
}
private:
void checkInstruction(SourceLocation _location, dev::eth::Instruction _instruction)
{