/[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.103 by akim, Mon Nov 26 09:50:29 2001 UTC revision 1.104 by akim, Mon Nov 26 15:27:58 2001 UTC
# Line 1474  readgram (void) Line 1474  readgram (void)
1474                    /* Make a dummy nonterminal, a gensym.  */                    /* Make a dummy nonterminal, a gensym.  */
1475                    bucket *sdummy = gensym ();                    bucket *sdummy = gensym ();
1476    
1477                    /* Make a new rule, whose body is empty,                    /* Make a new rule, whose body is empty, before the
1478                       before the current one, so that the action                       current one, so that the action just read can
1479                       just read can belong to it.  */                       belong to it.  */
1480                    nrules++;                    nrules++;
1481                    nitems++;                    nitems++;
1482                    p = symbol_list_new (sdummy);                    p = symbol_list_new (sdummy);
1483                      /* Attach its lineno to that of the host rule. */
1484                      p->line = crule->line;
1485                    if (crule1)                    if (crule1)
1486                      crule1->next = p;                      crule1->next = p;
1487                    else                    else

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

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