node-types: Fix handling of simple aliased inlined rules
This commit is contained in:
parent
1d2f171067
commit
a2bbc7391b
2 changed files with 70 additions and 7 deletions
|
|
@ -149,7 +149,8 @@ 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)?;
|
||||
let variable_info =
|
||||
node_types::get_variable_info(&syntax_grammar, &lexical_grammar, &simple_aliases)?;
|
||||
let node_types_json = node_types::generate_node_types_json(
|
||||
&syntax_grammar,
|
||||
&lexical_grammar,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue