aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-10 20:40:21 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commit86e1d671cc4ed9b89576c80e16e58a8019115068 (patch)
treecc0feacef2294265c96dea27e5810b442f107323 /Parser.cpp
parenta295417f3476428c286f96433a42a96bfe29fee3 (diff)
downloaddexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.tar.gz
dexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.tar.zst
dexon-solidity-86e1d671cc4ed9b89576c80e16e58a8019115068.zip
Parsing an enum AST node
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 2f0796d6..fd25d7ce 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -279,7 +279,7 @@ ASTPointer<EnumDefinition> Parser::parseEnumDefinition()
ASTNodeFactory nodeFactory(*this);
expectToken(Token::Enum);
ASTPointer<ASTString> name = expectIdentifierToken();
- vector<ASTPointer<Declaration>> members;
+ vector<ASTPointer<EnumDeclaration>> members;
expectToken(Token::LBrace);
while (m_scanner->getCurrentToken() == Token::Identifier)