aboutsummaryrefslogtreecommitdiffstats
path: root/libalee
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-03-10 07:14:09 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-03-10 07:14:09 -0500
commitf6e3fa466357a865310eb382aed55c5db8dab029 (patch)
tree5e4994a777281e64da8ab12e2108e755595e3563 /libalee
parent08a5696e60d1f7de3ca6afe593d062336d6075fb (diff)
make parser static; tested msp430 build
Diffstat (limited to 'libalee')
-rw-r--r--libalee/parser.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libalee/parser.hpp b/libalee/parser.hpp
index 4b14d64..f211781 100644
--- a/libalee/parser.hpp
+++ b/libalee/parser.hpp
@@ -28,12 +28,12 @@ class Parser
public:
constexpr static int UnknownWord = -1;
- int parse(State&, const char *);
- int parseSource(State&);
+ static int parse(State&, const char *);
+ static int parseSource(State&);
private:
- int parseWord(State&, Word);
- int parseNumber(State&, Word);
+ static int parseWord(State&, Word);
+ static int parseNumber(State&, Word);
};
#endif // ALEEFORTH_PARSER_HPP