From: Joel E. Denny Date: Fri, 17 Apr 2009 20:14:17 +0000 (-0400) Subject: Pacify make maintainer-check-posix. X-Git-Tag: v2.7.90~897 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/41253c3a9ddb07c1347983fb47a9f18fbccaecf2 Pacify make maintainer-check-posix. * tests/input.at (%define, --define): Move bison command-line options before grammar file name. --- diff --git a/ChangeLog b/ChangeLog index de7a46ec..8fef6d8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-04-17 Joel E. Denny + + 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 Document semicolon warnings. diff --git a/tests/input.at b/tests/input.at index daff2eca..69c83901 100644 --- a/tests/input.at +++ b/tests/input.at @@ -1,5 +1,5 @@ # Checking the Bison scanner. -*- Autotest -*- -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# 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 @@ -829,14 +829,14 @@ AT_DATA([input.y], start: ; ]]) -AT_BISON_CHECK([[input.y -DFOO -DFOO -Dvar=value]], [0], [], -[[:4: warning: %define variable `FOO' redefined -:3: warning: previous definition +AT_BISON_CHECK([[-DFOO -DFOO -Dvar=value input.y]], [0], [], +[[:3: warning: %define variable `FOO' redefined +:2: warning: previous definition input.y:1.9-11: warning: %define variable `var' redefined -:5: warning: previous definition +:4: warning: previous definition +:2: warning: %define variable `FOO' is not used :3: warning: %define variable `FOO' is not used -:4: warning: %define variable `FOO' is not used -:5: warning: %define variable `var' is not used +:4: warning: %define variable `var' is not used input.y:1.9-11: warning: %define variable `var' is not used ]])