aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-16 21:46:17 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-17 07:03:30 +0800
commitadbea475963ab376c2ae378a03bc58f2fb454b6e (patch)
tree4a6f0f245c39dd24c340012f6032bf77b8a86c79 /Parser.h
parent062b51e7bdf572abba25a76fc8c3bb6e96da71c9 (diff)
downloaddexon-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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Parser.h b/Parser.h
index cd3d5bab..bf3a6bea 100644
--- a/Parser.h
+++ b/Parser.h
@@ -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.