Parent Directory | Revision Log | Patch
revision 1.13.2.1 by akim, Tue Sep 25 18:35:04 2001 UTC | revision 1.13.2.2 by akim, Mon Nov 19 09:12:25 2001 UTC | |
---|---|---|
# | Line 130 set_firsts (void) | Line 130 set_firsts (void) |
130 | sp = derives[i]; | sp = derives[i]; |
131 | while (*sp >= 0) | while (*sp >= 0) |
132 | { | { |
133 | symbol = ritem[rrhs[*sp++]]; | symbol = ritem[rule_table[*sp++].rhs]; |
134 | if (ISVAR (symbol)) | if (ISVAR (symbol)) |
135 | { | { |
136 | symbol -= ntokens; | symbol -= ntokens; |
# | Line 287 closure (short *core, int n) | Line 287 closure (short *core, int n) |
287 | { | { |
288 | if (word & (1 << b)) | if (word & (1 << b)) |
289 | { | { |
290 | itemno = rrhs[ruleno]; | itemno = rule_table[ruleno].rhs; |
291 | while (csp < csend && *csp < itemno) | while (csp < csend && *csp < itemno) |
292 | *itemsetend++ = *csp++; | *itemsetend++ = *csp++; |
293 | *itemsetend++ = itemno; | *itemsetend++ = itemno; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |