mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/files.c (tr): Change return type to void.
* src/muscle_tab.c (muscle_insert): Free storage in case muscle_grow has been called previously for the same key. (muscle_find): Return storage instead of value so that --enable-gcc-warnings doesn't produce warnings that the return discards const. aver that the value and storage are the same since storage could potentially be NULL when value is not. * tests/testsuite.at (AT_CHECK): Treat an unspecified exit value the same as 0.
This commit is contained in:
@@ -25,7 +25,7 @@ m4_pushdef([ORIGINAL_AT_CHECK], m4_defn([AT_CHECK]))
|
||||
m4_pushdef([AT_CHECK],
|
||||
[ORIGINAL_AT_CHECK(
|
||||
m4_if(m4_quote(m4_substr(m4_quote($1), 0, 5)), [bison],
|
||||
m4_if([$2], [0], [],
|
||||
m4_if([$2], [0], [], [$2], [], [],
|
||||
[[VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; ]]))$@)])
|
||||
|
||||
# Testing resistance to user bugs.
|
||||
|
||||
Reference in New Issue
Block a user