]> git.saurik.com Git - bison.git/commitdiff
Pacify make maintainer-check-posix.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 17 Apr 2009 20:14:17 +0000 (16:14 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 17 Apr 2009 20:20:50 +0000 (16:20 -0400)
* tests/input.at (%define, --define): Move bison command-line
options before grammar file name.

ChangeLog
tests/input.at

index 347006bae31e306db969a10317494d13521111c3..7df915f43eac6b29602ca7502eb12e7f8660e3fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-17  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       Pacify make maintainer-check-posix.
+       * tests/input.at (%define, --define): Move bison command-line
+       options before grammar file name.
+
 2009-04-04  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Document semicolon warnings.
index 57f3b6410145fc567811524007e0e425e4e8941d..4389e9d26aa3d333ec8831f20de07d3069378fe0 100644 (file)
@@ -1,6 +1,6 @@
 # Checking the Bison scanner.                    -*- Autotest -*-
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
-# Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
 
 # 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
@@ -834,14 +834,14 @@ AT_DATA([input.y],
 start: ;
 ]])
 
-AT_BISON_CHECK([[input.y -DFOO -DFOO -Dvar=value]], [0], [],
-[[<command line>:4: warning: %define variable `FOO' redefined
-<command line>:3: warning: previous definition
+AT_BISON_CHECK([[-DFOO -DFOO -Dvar=value input.y]], [0], [],
+[[<command line>:3: warning: %define variable `FOO' redefined
+<command line>:2: warning: previous definition
 input.y:1.9-11: warning: %define variable `var' redefined
-<command line>:5: warning: previous definition
+<command line>:4: warning: previous definition
+<command line>:2: warning: %define variable `FOO' is not used
 <command line>:3: warning: %define variable `FOO' is not used
-<command line>:4: warning: %define variable `FOO' is not used
-<command line>:5: warning: %define variable `var' is not used
+<command line>:4: warning: %define variable `var' is not used
 input.y:1.9-11: warning: %define variable `var' is not used
 ]])