Auto calculate first/follow sets.