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

Diff of /bison/src/reader.c

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

revision 1.223 by akim, Tue Nov 12 08:30:47 2002 UTC revision 1.224 by eggert, Thu Nov 21 05:20:49 2002 UTC
# Line 1  Line 1 
1  /* Input parser for bison  /* Input parser for Bison
2     Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002     Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002
3     Free Software Foundation, Inc.     Free Software Foundation, Inc.
4    
# Line 452  packgram (void) Line 452  packgram (void)
452          p = p->next;          p = p->next;
453      }      }
454    
455    assert (itemno == nritems);    if (itemno != nritems)
456        abort ();
457    
458    if (trace_flag & trace_sets)    if (trace_flag & trace_sets)
459      ritem_print (stderr);      ritem_print (stderr);
# Line 539  reader (void) Line 540  reader (void)
540      grammar = p;      grammar = p;
541    }    }
542    
543    assert (nsyms <= SYMBOL_NUMBER_MAX);    if (! (nsyms <= SYMBOL_NUMBER_MAX && nsyms == ntokens + nvars))
544    assert (nsyms == ntokens + nvars);      abort ();
545    
546    xfclose (finput);    xfclose (finput);
547    

Legend:
Removed from v.1.223  
changed lines
  Added in v.1.224

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