diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-31 04:09:03 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-31 04:09:03 +0200 |
commit | 8b707351c72edb799195ea8c8423f34c72c5c46b (patch) | |
tree | 0db36bc3117dc85d4ad33abae81903ea90d3d658 /src/solar.cpp | |
parent | 679aa4588460b53b3b43ad19e76865c373c8f221 (diff) | |
download | solar-8b707351c72edb799195ea8c8423f34c72c5c46b.tar solar-8b707351c72edb799195ea8c8423f34c72c5c46b.zip |
Add generator_t
Diffstat (limited to 'src/solar.cpp')
-rw-r--r-- | src/solar.cpp | 4 |
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; } |