Fixed assertion in first
authorThadeu Lima de Souza Cascardo <cascardo@dcc.ufmg.br>
Thu, 27 Oct 2005 00:00:36 +0000 (00:00 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@dcc.ufmg.br>
Thu, 27 Oct 2005 00:00:36 +0000 (00:00 +0000)
commit9cb6535a17cf741a4a60bca597155d3a3ba6a44d
tree4bf9a9c8fec6c618a81b62b0aaea4d337f8323ba
parent6f7cc1e9aa52e44311a4901f1e2103a6dd725765
Fixed assertion in first

The implementation assumed there would be no rules starting with
terminals since they were eliminated at the first chance. However, rules
starting with a non-terminal which produced the empty string followed by
a terminal were added to the set of rules.

git-archimport-id: cascardo@tlscascardo--private/libgrammatic--nogobject-lr1--0.1--patch-10
first.c