Commit e37d84b
Fix check for new and unexpected roots
We track the "roots" in our grammar -- those productions that aren't
used in any other production. We want to report when a new root
appears or when something that's expected to be a root no longer is
one. However, we were reporting the latter case as the former instead
of reporting it separately as intended. Let's fix that.1 parent 1214d68 commit e37d84b
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
221 | | - | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
0 commit comments