revise pushing of recursive groups

This commit is contained in:
Folkert 2022-06-26 14:17:51 +02:00
parent bc44175bf9
commit 59187e3fd8
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 34 additions and 45 deletions

View file

@ -1980,6 +1980,8 @@ impl Declarations {
}
}
/// To store a recursive group in the vectors without nesting, we first push a "header"
/// here, then push the definitions that are part of that recursive group
pub fn push_recursive_group(&mut self, length: u16, cycle_mark: IllegalCycleMark) -> usize {
let index = self.declarations.len();