aboutsummaryrefslogtreecommitdiffstats
path: root/alee-msp430.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alee-msp430.cpp')
-rw-r--r--alee-msp430.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/alee-msp430.cpp b/alee-msp430.cpp
index 3121dc1..ca00026 100644
--- a/alee-msp430.cpp
+++ b/alee-msp430.cpp
@@ -66,14 +66,15 @@ int main()
serputs("\n\r");
- if (auto r = Parser::parse(state, strbuf); r == 0) {
+ if (auto r = Parser::parse(state, strbuf); r == Error::none) {
serputs(state.compiling() ? " compiled" : " ok");
} else {
switch (r) {
- case Parser::UnknownWord:
+ case Error::noword:
serputs("unknown word...");
break;
default:
+ serputs("error...");
break;
}
}