Skip to content

Commit

Permalink
remark parse function
Browse files Browse the repository at this point in the history
  • Loading branch information
astrophysik committed Apr 2, 2022
1 parent f69dfb9 commit 2dd53b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ std::shared_ptr<expression_node> parser::parse_expression() {
throw compile_exception("You cannot use variable \"" + current.value + "\" before its declaration");
}
} else {
_src.dec();
auto function_node = parse_formula_or_function();
return function_node;
}
Expand Down

0 comments on commit 2dd53b6

Please sign in to comment.