35 |
| Create a new array of N shifts/gotos. | |
| Create a new array of N shifts/gotos. | |
36 |
`---------------------------------------*/ |
`---------------------------------------*/ |
37 |
|
|
38 |
#define TRANSITIONS_ALLOC(Nshifts) \ |
#define TRANSITIONS_ALLOC(Num) \ |
39 |
(transitions_t *) xcalloc ((unsigned) (sizeof (transitions_t) \ |
(transitions_t *) xcalloc ((sizeof (transitions_t) \ |
40 |
+ (Nshifts - 1) * sizeof (state_number_t)), 1) |
+ (Num - 1) * sizeof (state_number_t)), 1) |
41 |
|
|
42 |
static transitions_t * |
static transitions_t * |
43 |
transitions_new (int num, state_number_t *the_states) |
transitions_new (int num, state_number_t *the_states) |