Make the --prev-abi flag work w/ the newest abi change
This commit is contained in:
parent
85e4636c80
commit
ff488f89c9
2 changed files with 7 additions and 12 deletions
|
|
@ -109,7 +109,9 @@ impl Generator {
|
|||
self.add_alias_sequences();
|
||||
}
|
||||
|
||||
self.add_non_terminal_alias_map();
|
||||
if self.next_abi {
|
||||
self.add_non_terminal_alias_map();
|
||||
}
|
||||
|
||||
let mut main_lex_table = LexTable::default();
|
||||
swap(&mut main_lex_table, &mut self.main_lex_table);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue