]> git.saurik.com Git - bison.git/commit
tests: better silencing of unused argument warnings
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Tue, 15 Jan 2013 17:03:39 +0000 (18:03 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Mon, 21 Jan 2013 14:54:04 +0000 (15:54 +0100)
commit32f4c0a1b29ed97f82ed3c41156ac6ca856a60f2
tree0f4cfeec3d45bea5725bfb207f19c9133da068fa
parent492dacbc342b4b7435bed2eac9ea99909e0b0aea
tests: better silencing of unused argument warnings

input.yy:35:44: error: unused parameter 'msg' [-Werror,-Wunused-parameter]
void yy::parser::error (std::string const& msg)
                                           ^

* tests/c++.at (C++ GLR parser identifier shadowing): Don't name unused
argument, use YYUSE instead of a direct cast to void.
tests/c++.at