diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-16 21:46:17 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-17 07:03:30 +0800 |
commit | adbea475963ab376c2ae378a03bc58f2fb454b6e (patch) | |
tree | 4a6f0f245c39dd24c340012f6032bf77b8a86c79 /Parser.h | |
parent | 062b51e7bdf572abba25a76fc8c3bb6e96da71c9 (diff) | |
download | dexon-solidity-adbea475963ab376c2ae378a03bc58f2fb454b6e.tar.gz dexon-solidity-adbea475963ab376c2ae378a03bc58f2fb454b6e.tar.zst dexon-solidity-adbea475963ab376c2ae378a03bc58f2fb454b6e.zip |
Minor issues, grammar update, new ForStatement test
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -60,7 +60,7 @@ private: ASTPointer<IfStatement> parseIfStatement(); ASTPointer<WhileStatement> parseWhileStatement(); ASTPointer<ForStatement> parseForStatement(); - ASTPointer<Statement> parseVardefOrExprstatement(); + ASTPointer<Statement> parseVarDefOrExprStmt(); ASTPointer<VariableDefinition> parseVariableDefinition(); ASTPointer<ExpressionStatement> parseExpressionStatement(); ASTPointer<Expression> parseExpression(); @@ -74,8 +74,7 @@ private: ///@{ ///@name Helper functions - /// Peeks ahead in the scanner to determine if an expression statement - /// could be a variable definition + /// Peeks ahead in the scanner to determine if a variable definition is going to follow bool peekVariableDefinition(); /// If current token value is not _value, throw exception otherwise advance token. |