node-types: Rework the approach to computing multiple and required

This commit is contained in:
Max Brunsfeld 2019-10-11 13:56:07 -07:00
parent 20bb99249b
commit dc7997fdbb
2 changed files with 389 additions and 292 deletions

View file

@ -176,7 +176,7 @@ fn generate_parser_for_grammar_with_opts(
next_abi: bool,
report_symbol_name: Option<&str>,
) -> Result<GeneratedParser> {
let variable_info = node_types::get_variable_info(&syntax_grammar, &lexical_grammar, &inlines)?;
let variable_info = node_types::get_variable_info(&syntax_grammar, &lexical_grammar)?;
let node_types_json = node_types::generate_node_types_json(
&syntax_grammar,
&lexical_grammar,