bison: pacify Sun C 5.12
commit67411a88a0668401f9583526668e3930762c55f0
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Oct 2013 22:21:32 +0000 (21 15:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Oct 2013 22:23:43 +0000 (21 15:23 -0700)
treefdb458a5c28a254478d9598c7c24c1a6aab45f80
parent0bfe22b6d523a359fb2ac8892c6acf85342b54f6
bison: pacify Sun C 5.12

* src/scan-code.l (show_sub_message):
Redo initializations to work around a bogus Sun C 5.12 warning.
(parse_ref): Remove unreachable code that Sun C 5.12 complains about.
* src/uniqstr.h (uniqstr_vsprintf): Use
_GL_ATTRIBUTE_FORMAT_PRINTF (...)  instead of __attribute__
((__format__ (__printf__, ...))).  Otherwise, Sun C 5.12
complains about an unknown attribute.
src/scan-code.l
src/uniqstr.h