/[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.211 by eggert, Fri Nov 15 01:28:40 2002 UTC revision 1.212 by eggert, Thu Nov 21 05:20:05 2002 UTC
# Line 1  Line 1 
1  /* Output the generated parsing program for bison,  /* Output the generated parsing program for Bison.
2     Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002     Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002
3     Free Software Foundation, Inc.     Free Software Foundation, Inc.
4    
# Line 235  prepare_rules (void) Line 235  prepare_rules (void)
235        /* Merger-function index (GLR).  */        /* Merger-function index (GLR).  */
236        merger[r] = rules[r].merger;        merger[r] = rules[r].merger;
237      }      }
238    assert (i == nritems);    if (i != nritems)
239        abort ();
240    
241    muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems);    muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems);
242    muscle_insert_unsigned_int_table ("prhs", prhs, 0, 0, nrules);    muscle_insert_unsigned_int_table ("prhs", prhs, 0, 0, nrules);
# Line 345  token_definitions_output (FILE *out) Line 346  token_definitions_output (FILE *out)
346        /* At this stage, if there are literal aliases, they are part of        /* At this stage, if there are literal aliases, they are part of
347           SYMBOLS, so we should not find symbols which are the aliases           SYMBOLS, so we should not find symbols which are the aliases
348           here.  */           here.  */
349        assert (number != USER_NUMBER_ALIAS);        if (number == USER_NUMBER_ALIAS)
350            abort ();
351    
352        /* Skip error token.  */        /* Skip error token.  */
353        if (symbol == errtoken)        if (symbol == errtoken)

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.212

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