summaryrefslogtreecommitdiffstats
path: root/src/solar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/solar.cpp')
-rw-r--r--src/solar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/solar.cpp b/src/solar.cpp
index f466db8..975ea22 100644
--- a/src/solar.cpp
+++ b/src/solar.cpp
@@ -26,6 +26,8 @@
#include "lex.hpp"
#include "parser.hpp"
+#include "generator.hpp"
+
#include <cstdio>
#include <memory>
@@ -79,5 +81,7 @@ int main() {
if (!read_grammar("grammar.y", &state))
return 1;
+ generator_t generator(state.get_rules());
+
return 0;
}