aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MoonP/ast.cpp')
-rw-r--r--src/MoonP/ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MoonP/ast.cpp b/src/MoonP/ast.cpp
index cda2339..7cdefba 100644
--- a/src/MoonP/ast.cpp
+++ b/src/MoonP/ast.cpp
@@ -115,7 +115,7 @@ bool ast_container::visitChild(const std::function<bool (ast_node*)>& func) {
115 @return pointer to ast node created, or null if there was an error. 115 @return pointer to ast node created, or null if there was an error.
116 The return object must be deleted by the caller. 116 The return object must be deleted by the caller.
117 */ 117 */
118ast_node* _parse(input &i, rule &g, error_list &el, void* ud) { 118ast_node* parse(input &i, rule &g, error_list &el, void* ud) {
119 ast_stack st; 119 ast_stack st;
120 if (!parse(i, g, el, &st, ud)) { 120 if (!parse(i, g, el, &st, ud)) {
121 for (auto node : st) { 121 for (auto node : st) {