Fix handling of inlined rules in node-types generation
This commit is contained in:
parent
0a2b183bd0
commit
ee1d4d6b2c
4 changed files with 205 additions and 120 deletions
|
|
@ -64,6 +64,7 @@ pub(crate) struct Production {
|
|||
pub dynamic_precedence: i32,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub(crate) struct InlinedProductionMap {
|
||||
pub productions: Vec<Production>,
|
||||
pub production_map: HashMap<(*const Production, u32), Vec<usize>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue