Yul parser hack and more yul tests.

This commit is contained in:
Daniel Kirchner
2020-05-05 17:23:41 +02:00
parent 28d25afab1
commit b580106c80
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -325,6 +325,7 @@ Parser::ElementaryOperation Parser::parseElementaryOperation()
case Token::Bool:
case Token::Address:
case Token::Var:
case Token::In:
{
YulString literal{currentLiteral()};
if (m_dialect.builtin(literal))
@@ -515,6 +516,7 @@ YulString Parser::expectAsmIdentifier()
case Token::Bool:
case Token::Identifier:
case Token::Var:
case Token::In:
break;
default:
expectToken(Token::Identifier);