aboutsummaryrefslogtreecommitdiffstats
path: root/libalee/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libalee/types.hpp')
-rw-r--r--libalee/types.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libalee/types.hpp b/libalee/types.hpp
index 5b577f2..0a7f7ee 100644
--- a/libalee/types.hpp
+++ b/libalee/types.hpp
@@ -32,6 +32,18 @@ using Func = void (*)(State&);
constexpr unsigned int MaxCellNumberChars = 6; // -32768
+enum class Error : int {
+ none = 0,
+ push,
+ pop,
+ pushr,
+ popr,
+ top,
+ pick,
+ exit,
+ noword
+};
+
struct Word
{
struct iterator;