diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-17 07:28:26 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-17 07:28:26 +0800 |
commit | aa83d5ea3cd8bfaf3ff77a684848316662dee07b (patch) | |
tree | 6c88eb4d8bbddd4eda1f9f25c426d1eeedf9468d /Parser.cpp | |
parent | 5c05b8d725f383185ccd3afc700c2c8bac33b16f (diff) | |
download | dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar.gz dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar.bz2 dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar.lz dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar.xz dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.tar.zst dexon-solidity-aa83d5ea3cd8bfaf3ff77a684848316662dee07b.zip |
Moving comment to function body
Diffstat (limited to 'Parser.cpp')
-rw-r--r-- | Parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -596,12 +596,12 @@ vector<ASTPointer<Expression>> Parser::parseFunctionCallArguments() } -// distinguish between variable definition (and potentially assignment) and expression statement -// (which include assignments to other expressions and pre-declared variables) -// We have a variable definition if we get a keyword that specifies a type name, or -// in the case of a user-defined type, we have two identifiers following each other. bool Parser::peekVariableDefinition() { + // distinguish between variable definition (and potentially assignment) and expression statement + // (which include assignments to other expressions and pre-declared variables) + // We have a variable definition if we get a keyword that specifies a type name, or + // in the case of a user-defined type, we have two identifiers following each other. return (m_scanner->getCurrentToken() == Token::MAPPING || m_scanner->getCurrentToken() == Token::VAR || ((Token::isElementaryTypeName(m_scanner->getCurrentToken()) || |