The identifier var should be fine in Yul

This commit is contained in:
Leonardo Alt
2020-03-11 18:45:08 +01:00
parent 07ab4c80c4
commit 89ce2dbfe9
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -324,6 +324,7 @@ Parser::ElementaryOperation Parser::parseElementaryOperation()
case Token::Byte:
case Token::Bool:
case Token::Address:
case Token::Var:
{
YulString literal{currentLiteral()};
if (m_dialect.builtin(literal))
@@ -513,6 +514,7 @@ YulString Parser::expectAsmIdentifier()
case Token::Address:
case Token::Bool:
case Token::Identifier:
case Token::Var:
break;
default:
expectToken(Token::Identifier);