Commit b95341e
committed
Fix grammar compression regression causing array index gaps
The grammar expansion code caused duplicit entries for expanded rules
that are used in multiple different entries. When creating an index of the
grammar rules, this caused array index gaps, converting a list array to an
associative array with indexes included in the compressed grammar.1 parent 078e2ce commit b95341e
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
Large diffs are not rendered by default.
0 commit comments