"state", "states",
"itemset", "itemsets",
"lookahead", "lookaheads",
+ "solved",
"all",
0
};
report_states, report_states,
report_states | report_itemsets, report_states | report_itemsets,
report_states | report_lookaheads, report_states | report_lookaheads,
+ report_states | report_solved_conflicts,
report_all
};
report_argmatch (char *args)
{
ARGMATCH_ASSERT (report_args, report_types);
+ args = strtok (args, ",");
do
{
int report = XARGMATCH ("--report", args,
-b, --file-prefix=PREFIX specify a PREFIX for output files\n\
-o, --output=FILE leave output to FILE\n\
-g, --graph also produce a VCG description of the automaton\n\
-\n\
+"), stream);
+ putc ('\n', stream);
+
+ fputs (_("\
THINGS is a list of comma separated words that can include:\n\
`state' describe the states\n\
`itemset' complete the core item sets with their closure\n\
`lookahead' explicitly associate lookaheads to items\n\
+ `solved' describe shift/reduce conflicts solving\n\
`all' include all the above information\n\
`none' disable the report\n\
"), stream);