aboutsummaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-02-17 08:15:30 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-02-17 08:15:30 -0500
commit24a61f3c99125c97ca79ea173c959d7bd89f1a48 (patch)
tree4d89ad660335f718f32482f49f985747de4e5c5f /types.hpp
parente45926fa2a1bc332214f0467de6020529d91b7ba (diff)
some cleanup
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);