diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 00:34:46 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:16:14 +0800 |
commit | b20ce4451bb4c2b64b112b8654b36502ae654a24 (patch) | |
tree | d9ecfcbf2a386e546f25594f377ceb669bd22997 /Parser.cpp | |
parent | fb4ff4af286f66dab3fde5bf33815c407f56b2db (diff) | |
download | dexon-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.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |