aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-14 19:42:32 +0200
committerEugen Wissner <belka@caraus.de>2026-07-14 19:42:32 +0200
commit308a2addf655fe45f2098f8542f0ff1290612cd9 (patch)
tree19230bdb673d306d59b32427ad2a3ad5e9850631 /include
parenta32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (diff)
downloadelna-308a2addf655fe45f2098f8542f0ff1290612cd9.tar.gz
Replace procedure end with return
Diffstat (limited to 'include')
-rw-r--r--include/elna/boot/ast.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/elna/boot/ast.h b/include/elna/boot/ast.h
index 04ffc22..6a5f32d 100644
--- a/include/elna/boot/ast.h
+++ b/include/elna/boot/ast.h
@@ -766,8 +766,7 @@ namespace elna::boot
std::vector<type_declaration *>&& types,
std::vector<variable_declaration *>&& variables,
std::vector<procedure_declaration *>&& procedures,
- std::vector<statement *>&& entry_point,
- expression *const return_expression = nullptr);
+ std::vector<statement *>&& entry_point);
bool has_body() const;
virtual void accept(parser_visitor *visitor) override;