aboutsummaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/types.hpp b/types.hpp
index 5c4d358..d4f1882 100644
--- a/types.hpp
+++ b/types.hpp
@@ -26,7 +26,7 @@ struct State;
using Addr = uint16_t;
using Cell = int16_t;
-using Func = int (*)(State&);
+using Func = void (*)(State&);
struct Word
{
@@ -41,8 +41,7 @@ struct Word
enum class ParseStatus
{
Finished,
- Continue,
- Error
+ NotAWord
};
std::string_view to_string(ParseStatus);