diff options
Diffstat (limited to 'src/solar.cpp')
-rw-r--r-- | src/solar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/solar.cpp b/src/solar.cpp index e6c0b0a..e7eb00b 100644 --- a/src/solar.cpp +++ b/src/solar.cpp @@ -26,8 +26,8 @@ #include "lex.hpp" #include "parser.hpp" -#include "generator_lr0.hpp" -#include "output_lr0.hpp" +#include "generator_slr.hpp" +#include "output_slr.hpp" #include <cstdio> @@ -87,9 +87,9 @@ int main(int argc, char *argv[]) { if (!read_grammar(argv[1], &state)) return 1; - generator_lr0_t generator(state.get_grammar()); + generator_slr_t generator(state.get_grammar()); - output_lr0_t output(&generator, argv[3], argv[2]); + output_slr_t output(&generator, argv[3], argv[2]); output.write(); return 0; |