aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-14 00:34:46 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commitb20ce4451bb4c2b64b112b8654b36502ae654a24 (patch)
treed9ecfcbf2a386e546f25594f377ceb669bd22997 /Parser.cpp
parentfb4ff4af286f66dab3fde5bf33815c407f56b2db (diff)
downloaddexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.gz
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.bz2
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.lz
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.xz
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.zst
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.zip
Typo in EnumValue
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 3e077261..28339a46 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -266,12 +266,12 @@ ASTPointer<StructDefinition> Parser::parseStructDefinition()
return nodeFactory.createNode<StructDefinition>(name, members);
}
-ASTPointer<EnumvValue> Parser::parseEnumDeclaration()
+ASTPointer<EnumValue> Parser::parseEnumDeclaration()
{
ASTNodeFactory nodeFactory(*this);
ASTPointer<ASTString> name = expectIdentifierToken();
nodeFactory.markEndPosition();
- return nodeFactory.createNode<EnumvValue>(name);
+ return nodeFactory.createNode<EnumValue>(name);
}
ASTPointer<EnumDefinition> Parser::parseEnumDefinition()
@@ -279,7 +279,7 @@ ASTPointer<EnumDefinition> Parser::parseEnumDefinition()
ASTNodeFactory nodeFactory(*this);
expectToken(Token::Enum);
ASTPointer<ASTString> name = expectIdentifierToken();
- vector<ASTPointer<EnumvValue>> members;
+ vector<ASTPointer<EnumValue>> members;
expectToken(Token::LBrace);
while (m_scanner->getCurrentToken() != Token::RBrace)