Commit 71d1a4fe authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix bench/emptchk/pml2tgba.pl for more recent Spin version.

* bench/emptchk/pml2tgba.pl: Stop checking for version start lines
depending on the Spin version.  This check was never always
correct.  Reported by Étienne Renault.
parent fdf8878d
2011-11-24 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix bench/emptchk/pml2tgba.pl for more recent Spin version.
* bench/emptchk/pml2tgba.pl: Stop checking for version start lines
depending on the Spin version. This check was never always
correct. Reported by Étienne Renault.
2011-11-24 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Update formulae.ltl not to use uncommon operators.
......
......@@ -112,15 +112,6 @@ while (1)
my $model = shift @ARGV;
# Find out the start of the never claim.
# The line numbering changed in Spin 5.2.0.
my $model_size = `wc -l <"$model"`;
my $neverstartline_spin517 = 3 + $model_size;
my $neverstartline_spin520 = 4 + $model_size;
my $neverstartline_spin525 = 0 + $model_size;
my $neverstartline =
"($neverstartline_spin517|$neverstartline_spin520|$neverstartline_spin525)";
# Create the automaton
open NEVER, ">never.$$";
print NEVER create_2n_automaton (@ARGV);
......@@ -140,7 +131,7 @@ while (<PAN>)
while (<PAN>)
{
next
unless (/\s+state\s+\d+\s+-\(tr\s+(\d+)\s*\)->.* line $neverstartline =>/o);
unless (/\s+state\s+\d+\s+-\(tr\s+(\d+)\s*\)->.* line \d+ =>/o);
# We are assuming that transition are output by -d in the same order
# as we specified them in the neverclaim.
my $prop = shift @prop_list;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment