- Added '--unbounded' switch.
This commit is contained in:
parent
8b1d714b73
commit
96e7a32bff
@ -564,9 +564,9 @@ switcher (const int process, int index, int commandline)
|
|||||||
/*
|
/*
|
||||||
* Deprecated : use --untyped instead
|
* Deprecated : use --untyped instead
|
||||||
*
|
*
|
||||||
helptext ("-m, --match=<int>",
|
helptext ("-m, --match=<int>",
|
||||||
"type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws");
|
"type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws");
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -579,8 +579,7 @@ switcher (const int process, int index, int commandline)
|
|||||||
{
|
{
|
||||||
if (!process)
|
if (!process)
|
||||||
{
|
{
|
||||||
helptext ("-u, --untyped",
|
helptext ("-u, --untyped", "Consider all variables to be untyped");
|
||||||
"Consider all variables to be untyped");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -626,6 +625,20 @@ switcher (const int process, int index, int commandline)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (detect (' ', "unbounded", 0))
|
||||||
|
{
|
||||||
|
if (!process)
|
||||||
|
{
|
||||||
|
helptext (" --unbounded",
|
||||||
|
"Do not bound the number of runs in the state space.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switches.runs = INT_MAX;
|
||||||
|
return index;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (detect ('l', "max-length", 1))
|
if (detect ('l', "max-length", 1))
|
||||||
{
|
{
|
||||||
if (!process)
|
if (!process)
|
||||||
|
Loading…
Reference in New Issue
Block a user