/[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.230 by eggert, Sat Dec 21 12:56:44 2002 UTC revision 1.231 by eggert, Mon Feb 3 15:35:56 2003 UTC
# Line 1  Line 1 
1  /* Input parser for Bison  /* Input parser for Bison
2    
3     Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002     Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002, 2003
4     Free Software Foundation, Inc.     Free Software Foundation, Inc.
5    
6     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
# Line 47  int typed = 0; Line 47  int typed = 0;
47  `-----------------------*/  `-----------------------*/
48    
49  void  void
50  grammar_start_symbol_set (symbol *s, location loc)  grammar_start_symbol_set (symbol *sym, location loc)
51  {  {
52    if (start_flag)    if (start_flag)
53      complain_at (loc, _("multiple %s declarations"), "%start");      complain_at (loc, _("multiple %s declarations"), "%start");
54    else    else
55      {      {
56        start_flag = 1;        start_flag = 1;
57        startsymbol = s;        startsymbol = sym;
58        startsymbol_location = loc;        startsymbol_location = loc;
59      }      }
60  }  }

Legend:
Removed from v.1.230  
changed lines
  Added in v.1.231

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