LR0: Special handling for 'A --> є'

This commit is contained in:
Paul Beckingham 2015-12-27 14:50:10 -05:00
parent 6dea79721a
commit 1b81996674

View file

@ -162,6 +162,8 @@ LR0::Item::Item (const std::vector <std::string>& rule)
: _rule (rule)
, _cursor (2)
{
if (_rule.size () == 3 && _rule[2] == "є")
_rule.pop_back ();
}
////////////////////////////////////////////////////////////////////////////////