On 20 Mar 2010, at 04:01, Changming Xu wrote:

pack_vector:

     for (k = 0; ok && k < vector; k++)
   if (pos[k] == j)
     ok = false;

I believe I understand the pack alg from Aho[1986] and flex. But I don't
understand  why it does not work if  base[i] == base[j] for some i,j

You might also ask in the Usenet newsgroup comp.compilers, which has a number of experts on the innards of parsing algorithms.

  Hans




_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to