Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | bug fix in lemon (CVS 136) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6f4c080739333dbbc3556b5cf96f341f |
User & Date: | drh 2000-08-20 11:42:46.000 |
Context
2000-08-22
| ||
13:27 | :-) (CVS 137) (check-in: 5f6559ee7b user: drh tags: trunk) | |
2000-08-20
| ||
11:42 | bug fix in lemon (CVS 136) (check-in: 6f4c080739 user: drh tags: trunk) | |
2000-08-18
| ||
10:00 | Version 1.0.1 (CVS 498) (check-in: e8521fc10d user: drh tags: trunk) | |
Changes
Changes to tool/lemon.c.
︙ | ︙ | |||
371 372 373 374 375 376 377 | struct action *ap1; struct action *ap2; { int rc; rc = ap1->sp->index - ap2->sp->index; if( rc==0 ) rc = (int)ap1->type - (int)ap2->type; if( rc==0 ){ | | > | 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 | struct action *ap1; struct action *ap2; { int rc; rc = ap1->sp->index - ap2->sp->index; if( rc==0 ) rc = (int)ap1->type - (int)ap2->type; if( rc==0 ){ assert( ap1->type==REDUCE || ap1->type==RD_RESOLVED || ap1->type==CONFLICT); assert( ap2->type==REDUCE || ap2->type==RD_RESOLVED || ap2->type==CONFLICT); rc = ap1->x.rp->index - ap2->x.rp->index; } return rc; } /* Sort parser actions */ struct action *Action_sort(ap) |
︙ | ︙ |