]> git.saurik.com Git - bison.git/blobdiff - tests/input.at
In impure push mode, don't allow more than one yypstate to be allocated
[bison.git] / tests / input.at
index d21ca41dacf0f8d74539db14b454ddfba3bf67d9..6aeb258cbc6ca36e7e7c7c967c226f38eed6fa2e 100644 (file)
@@ -2,20 +2,18 @@
 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation,
 # Inc.
 
-# This program 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.
+#
 # 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 this program; 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 <http://www.gnu.org/licenses/>.
 
 AT_BANNER([[Input Processing.]])
 
@@ -811,7 +809,9 @@ start: ;
 
 AT_CHECK([[bison input.y]], [0], [],
 [[input.y:2.9-11: warning: %define variable `var' redefined
+input.y:1.9-11: warning: previous definition
 input.y:3.10-12: warning: %define variable `var' redefined
+input.y:2.9-11: warning: previous definition
 input.y:1.9-11: warning: %define variable `var' is not used
 input.y:2.9-11: warning: %define variable `var' is not used
 input.y:3.10-12: warning: %define variable `var' is not used
@@ -836,7 +836,7 @@ start: ;
 ]])
 
 AT_CHECK([[bison Input.y]], [1], [],
-[[Input.y: invalid value for %define variable `public'
+[[Input.y:2.9-14: invalid value for %define boolean variable `public'
 ]])
 
 AT_CLEANUP