160 |
|
|
161 |
nshifts = 0; |
nshifts = 0; |
162 |
|
|
163 |
for (i = 0; i < nitemset; ++i) |
for (i = 0; i < nritemset; ++i) |
164 |
{ |
{ |
165 |
int symbol = ritem[itemset[i]]; |
int symbol = ritem[itemset[i]]; |
166 |
if (symbol >= 0) |
if (symbol >= 0) |
363 |
return; |
return; |
364 |
|
|
365 |
/* Find and count the active items that represent ends of rules. */ |
/* Find and count the active items that represent ends of rules. */ |
366 |
for (i = 0; i < nitemset; ++i) |
for (i = 0; i < nritemset; ++i) |
367 |
{ |
{ |
368 |
int item = ritem[itemset[i]]; |
int item = ritem[itemset[i]]; |
369 |
if (item < 0) |
if (item < 0) |