Ensure that the parse data is valid
Test whether all non-terminals have at least one child and throw an error otherwise. As this is check is rather expensive, it is only carried out for configurations we have good reasons to expect problems.
ensure_valid_pd(pd)
pd |
A parse table. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.