Fix handling of inlined rules in node-types generation

This commit is contained in:
Max Brunsfeld 2019-06-19 15:30:48 -07:00
parent 0a2b183bd0
commit ee1d4d6b2c
4 changed files with 205 additions and 120 deletions

View file

@ -272,7 +272,9 @@ impl<'a> ParseItemSet<'a> {
}
pub fn core(&self) -> ParseItemSetCore<'a> {
ParseItemSetCore { entries: self.entries.iter().map(|e| e.0).collect() }
ParseItemSetCore {
entries: self.entries.iter().map(|e| e.0).collect(),
}
}
}