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

Diff of /bison/src/output.c

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

revision 1.153 by akim, Sun May 5 11:56:27 2002 UTC revision 1.154 by akim, Tue May 7 08:07:32 2002 UTC
# Line 184  Name (const char *name,                                                        \ Line 184  Name (const char *name,                                                        \
184        int begin,                                                        \        int begin,                                                        \
185        int end)                                                          \        int end)                                                          \
186  {                                                                       \  {                                                                       \
187    long int max = first;                                                 \    Type max = first;                                                     \
188    int i;                                                                \    int i;                                                                \
189    int j = 1;                                                            \    int j = 1;                                                            \
190                                                                          \                                                                          \
# Line 209  Name (const char *name,                                                        \ Line 209  Name (const char *name,                                                        \
209    /* Build `NAME_max' in the obstack. */                                \    /* Build `NAME_max' in the obstack. */                                \
210    obstack_fgrow1 (&format_obstack, "%s_max", name);                     \    obstack_fgrow1 (&format_obstack, "%s_max", name);                     \
211    obstack_1grow (&format_obstack, 0);                                   \    obstack_1grow (&format_obstack, 0);                                   \
212    MUSCLE_INSERT_LONG_INT (obstack_finish (&format_obstack), max);       \    MUSCLE_INSERT_LONG_INT (obstack_finish (&format_obstack),             \
213                              (long int) max);                              \
214  }  }
215    
 GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_int_table, int)  
216  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_unsigned_int_table, unsigned int)  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_unsigned_int_table, unsigned int)
217  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_short_table, short)  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_short_table, short)
218  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_token_number_table, token_number_t)  GENERATE_MUSCLE_INSERT_TABLE(muscle_insert_token_number_table, token_number_t)
# Line 285  prepare_tokens (void) Line 285  prepare_tokens (void)
285  static void  static void
286  prepare_rules (void)  prepare_rules (void)
287  {  {
   long int max;  
288    int r;    int r;
289    unsigned int i = 0;    unsigned int i = 0;
290    item_number_t *rhs = XMALLOC (item_number_t, nritems);    item_number_t *rhs = XMALLOC (item_number_t, nritems);

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

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