/[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.133 by akim, Thu Dec 27 18:13:47 2001 UTC revision 1.134 by akim, Sat Dec 29 14:17:18 2001 UTC
# Line 1451  readgram (void) Line 1451  readgram (void)
1451          t = lex ();          t = lex ();
1452        }        }
1453    
1454    /* Insert the initial rule:    /* Insert the initial rule, which line is that of the first rule
1455         (not that of the start symbol):
1456    
1457       axiom: %start EOF.  */       axiom: %start EOF.  */
1458    p = symbol_list_new (axiom);    p = symbol_list_new (axiom);
1459      p->line = grammar->line;
1460    p->next = symbol_list_new (startval);    p->next = symbol_list_new (startval);
1461    p->next->next = symbol_list_new (eoftoken);    p->next->next = symbol_list_new (eoftoken);
1462    p->next->next->next = symbol_list_new (NULL);    p->next->next->next = symbol_list_new (NULL);

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

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