aboutsummaryrefslogtreecommitdiffstats
path: root/alee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alee.cpp')
-rw-r--r--alee.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/alee.cpp b/alee.cpp
index 0fcda26..e7f2e13 100644
--- a/alee.cpp
+++ b/alee.cpp
@@ -48,6 +48,7 @@ int main(int argc, char *argv[])
Parser parser;
dict.write(Dictionary::Base, 10);
+ dict.write(Dictionary::Latest, Dictionary::Begin);
dict.write(Dictionary::Compiling, 0);
dict.write(Dictionary::Postpone, 0);
@@ -81,7 +82,7 @@ void parseLine(Parser& parser, State& state, std::string_view line)
if (r == ParseStatus::Finished) {
if (okay)
- std::cout << "ok" << std::endl;
+ std::cout << (state.compiling() ? "compiled" : "ok") << std::endl;
} else {
std::cout << to_string(r) << ": " << line << std::endl;
}