summaryrefslogtreecommitdiff
path: root/src/muscle-tab.c
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2022-09-13 08:25:59 +0200
committerAkim Demaille <akim.demaille@gmail.com>2022-09-16 06:03:28 +0200
commitc0258915474496874318f4767ba6ebcc1e9471f0 (patch)
tree2ad0cb53bf1fd235e37d5f4991fba12ee52fa22b /src/muscle-tab.c
parent15b97a0a6ab49a148cdfbe7d06d12b2624a33f97 (diff)
downloadbison-c0258915474496874318f4767ba6ebcc1e9471f0.tar.gz
cex: provide the user with a means to change the timeout
Reported by Frank Heckenbach. https://lists.gnu.org/r/bug-bison/2022-07/msg00011.html * bootstrap.conf: Use c_strtod, so that even in French locales "1.5" is accepted, instead of "1,5". * src/counterexample.c, src/state-item.c: Use xtime_t instead of time_t, so that accuracy goes from seconds to nanoseconds. ( counterexample_init): Depend on cex.timeout rather than $TIME_LIMIT. * doc/bison.texi (%define Summary): Document cex.timeout.
Diffstat (limited to 'src/muscle-tab.c')
-rw-r--r--src/muscle-tab.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/muscle-tab.c b/src/muscle-tab.c
index 0945d609..f4d84d6a 100644
--- a/src/muscle-tab.c
+++ b/src/muscle-tab.c
@@ -127,6 +127,9 @@ muscle_init (void)
muscle_table = hash_xinitialize (HT_INITIAL_CAPACITY, NULL, hash_muscle,
hash_compare_muscles, muscle_entry_free);
+ /* Avoid warnings if the user defined this variable, but did not
+ actually call -Wcex. */
+ free (muscle_percent_define_get ("cex.timeout"));
}