LR0: Documented ::initializeFirstState

This commit is contained in:
Paul Beckingham 2016-01-05 01:51:08 -05:00
parent c33e12f099
commit a9b7ca04c9

View file

@ -120,6 +120,9 @@ LR0::Closure LR0::getClosure (const std::string& symbol) const
}
////////////////////////////////////////////////////////////////////////////////
// The first state is юust the augmented grammar with the expected symbols all
// at the first symbol of each rule, i.e. exactly what happens when an Item is
// instantiated from a grammar rule.
void LR0::initializeFirstState (States& states) const
{
LR0::Closure result;