Return to closure.c CVS log | Up to [local] / src / usr.bin / yacc |
version 1.6, 2003/06/03 02:56:24 | version 1.7, 2003/06/19 16:34:53 | ||
---|---|---|---|
|
|
||
void | void | ||
set_EFF() | set_EFF(void) | ||
{ | { | ||
unsigned *row; | unsigned *row; | ||
int symbol; | int symbol; | ||
|
|
||
void | void | ||
set_first_derives() | set_first_derives(void) | ||
{ | { | ||
unsigned *rrow; | unsigned *rrow; | ||
unsigned *vrow; | unsigned *vrow; | ||
|
|
||
void | void | ||
closure(nucleus, n) | closure(short *nucleus, int n) | ||
short *nucleus; | |||
int n; | |||
{ | { | ||
int ruleno; | int ruleno; | ||
unsigned word; | unsigned word; | ||
|
|
||
void | void | ||
finalize_closure() | finalize_closure(void) | ||
{ | { | ||
FREE(itemset); | FREE(itemset); | ||
FREE(ruleset); | FREE(ruleset); | ||
|
|
||
#ifdef DEBUG | #ifdef DEBUG | ||
print_closure(n) | void | ||
int n; | print_closure(int n) | ||
{ | { | ||
short *isp; | short *isp; | ||
|
|
||
printf(" %d\n", *isp); | printf(" %d\n", *isp); | ||
} | } | ||
void | |||
print_EFF() | print_EFF(void) | ||
{ | { | ||
int i, j; | int i, j; | ||
unsigned *rowp; | unsigned *rowp; | ||
|
|
||
} | } | ||
} | } | ||
void | |||
print_first_derives() | print_first_derives(void) | ||
{ | { | ||
int i; | int i; | ||
int j; | int j; |