X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9c4637fa8c5a0bbfe31293f7550a41ed79cab730..6175ffe3211dad578ce6585584c4eb85cf891830:/src/reader.c?ds=inline diff --git a/src/reader.c b/src/reader.c index aa73de8b..3f8cab8b 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1,6 +1,6 @@ /* Input parser for Bison - Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002 + Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -47,14 +47,14 @@ int typed = 0; `-----------------------*/ void -grammar_start_symbol_set (symbol *s, location loc) +grammar_start_symbol_set (symbol *sym, location loc) { if (start_flag) complain_at (loc, _("multiple %s declarations"), "%start"); else { start_flag = 1; - startsymbol = s; + startsymbol = sym; startsymbol_location = loc; } } @@ -181,7 +181,7 @@ free_merger_functions (void) /* The (currently) last symbol of GRAMMAR. */ symbol_list *grammar_end = NULL; -/* Append S to the GRAMMAR. */ +/* Append SYM to the grammar. */ void grammar_symbol_append (symbol *sym, location loc) {