summaryrefslogtreecommitdiffstats
path: root/src/solar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/solar.cpp')
-rw-r--r--src/solar.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/solar.cpp b/src/solar.cpp
index 46c7fad..7e211a5 100644
--- a/src/solar.cpp
+++ b/src/solar.cpp
@@ -87,7 +87,12 @@ 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());
+ 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());
output_t output(&generator, argv[3], argv[2]);
output.write();