summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lib94/lib94.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/lib94/lib94.hpp b/include/lib94/lib94.hpp
index 18f90b4..b3898d2 100644
--- a/include/lib94/lib94.hpp
+++ b/include/lib94/lib94.hpp
@@ -60,13 +60,11 @@ namespace lib94 {
std::string instruction_to_string(const instruction &instr);
struct compiler_exception : public std::exception {
- unsigned line_number;
+ unsigned source_line_number;
std::string message;
};
warrior *compile_warrior(std::string source);
- bool save_warrior(const warrior &w, const std::filesystem::path &to);
- std::optional<warrior *> load_warrior(const std::filesystem::path &from);
void clear_core(const instruction &background);
void clear_core_random();