diff options
author | RJ Catalano <rcatalano@macsales.com> | 2016-02-10 05:43:23 +0800 |
---|---|---|
committer | RJ Catalano <rcatalano@macsales.com> | 2016-02-19 01:22:56 +0800 |
commit | f4da1260184d5695287c30181734cff4d7e3d737 (patch) | |
tree | 65cf0d92f4c001931bcf37a7aa6a4fb5049a28ca /libsolidity/parsing/Parser.cpp | |
parent | 7b918a7bc7a3c619682266b1c2566dacb9dcc765 (diff) | |
download | dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar.gz dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar.bz2 dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar.lz dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar.xz dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.tar.zst dexon-solidity-f4da1260184d5695287c30181734cff4d7e3d737.zip |
tests added and changes made
fixed some silly problems in Token.cpp
windows error fix
Diffstat (limited to 'libsolidity/parsing/Parser.cpp')
-rw-r--r-- | libsolidity/parsing/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp index 9f944a0c..74ec5cda 100644 --- a/libsolidity/parsing/Parser.cpp +++ b/libsolidity/parsing/Parser.cpp @@ -195,7 +195,6 @@ ASTPointer<ContractDefinition> Parser::parseContractDefinition(bool _isLibrary) while (true) { Token::Value currentTokenValue = m_scanner->currentToken(); - string lit = m_scanner->currentLiteral(); if (currentTokenValue == Token::RBrace) break; else if (currentTokenValue == Token::Function) @@ -1138,6 +1137,7 @@ ASTPointer<Expression> Parser::parsePrimaryExpression() default: if (Token::isElementaryTypeName(token)) { + //used for casts ElementaryTypeNameToken elementaryExpression(m_scanner->currentToken(), m_scanner->currentTokenInfo()); expression = nodeFactory.createNode<ElementaryTypeNameExpression>(elementaryExpression); m_scanner->next(); |