X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2a6b783defd8f8f4325b99292482d03305af12e3..f259e4e63c65525a864413c251f796d77793bfe3:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index 94f6624d..a214dc57 100644 --- a/src/lalr.c +++ b/src/lalr.c @@ -5,20 +5,18 @@ This file is part of Bison, the GNU Compiler Compiler. - Bison is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - Bison is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with Bison; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* Compute how to make the finite state machine deterministic; find @@ -264,7 +262,7 @@ build_relations (void) while (!done) { done = true; - /* Each rhs ends in an item number, and there is a + /* Each rhs ends in a rule number, and there is a sentinel before the first rhs, so it is safe to decrement RP here. */ rp--;