renamed let to let_stmt
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "ast/ast.hpp"
|
||||
#include "ast/errors/error.hpp"
|
||||
#include "ast/statements/let.hpp"
|
||||
#include "ast/statements/return.hpp"
|
||||
#include "lexer/lexer.hpp"
|
||||
#include "token/token.hpp"
|
||||
|
||||
@@ -20,7 +21,8 @@ namespace parser {
|
||||
|
||||
void next_token();
|
||||
ast::statement* parse_statement();
|
||||
ast::let* parse_let();
|
||||
ast::let_stmt* parse_let();
|
||||
ast::return_stmt* parse_return();
|
||||
bool expect_next(token::type);
|
||||
void next_error(token::type);
|
||||
};
|
||||
|
Reference in New Issue
Block a user