aboutsummaryrefslogtreecommitdiffstats
path: root/libalee/parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libalee/parser.hpp')
-rw-r--r--libalee/parser.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/libalee/parser.hpp b/libalee/parser.hpp
index f211781..be6f3f7 100644
--- a/libalee/parser.hpp
+++ b/libalee/parser.hpp
@@ -26,14 +26,12 @@
class Parser
{
public:
- constexpr static int UnknownWord = -1;
-
- static int parse(State&, const char *);
- static int parseSource(State&);
+ static Error parse(State&, const char *);
+ static Error parseSource(State&);
private:
- static int parseWord(State&, Word);
- static int parseNumber(State&, Word);
+ static Error parseWord(State&, Word);
+ static Error parseNumber(State&, Word);
};
#endif // ALEEFORTH_PARSER_HPP