/[bison]/bison/src/state.c
ViewVC logotype

Diff of /bison/src/state.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by akim, Wed Jul 3 06:51:43 2002 UTC revision 1.19 by akim, Wed Jul 3 12:51:30 2002 UTC
# Line 35  Line 35 
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)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26