cex: add support for $TIME_LIMIT

* src/counterexample.c (TIME_LIMIT): Replace with...
(time_limit): this.
(counterexample_init): Check $TIME_LIMIT.
* src/scan-gram.l: Reorder includes.
This commit is contained in:
Akim Demaille
2021-01-14 06:32:39 +01:00
parent 8320691a63
commit 7a31b6bb7f
2 changed files with 17 additions and 4 deletions

View File

@@ -21,9 +21,8 @@
%option prefix="gram_" outfile="lex.yy.c"
%{
#include <errno.h>
#include <c-ctype.h>
#include <errno.h>
#include <mbswidth.h>
#include <quote.h>
#include <quotearg.h>