diff options
Diffstat (limited to 'src/solar.cpp')
-rw-r--r-- | src/solar.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/solar.cpp b/src/solar.cpp index 7e211a5..68a1df6 100644 --- a/src/solar.cpp +++ b/src/solar.cpp @@ -87,12 +87,7 @@ int main(int argc, char *argv[]) { if (!read_grammar(argv[1], &state)) return 1; - generator_t generator(state.get_rules(), - state.get_nonterm_types(), - state.get_term_types(), - state.get_header_block(), - state.get_source_block(), - state.get_extra_args()); + generator_t generator(state.get_grammar()); output_t output(&generator, argv[3], argv[2]); output.write(); |