* bench/emptchk/pml2tgba.pl: Adjust to work with Spin 5.2.0.
This commit is contained in:
parent
b3e8797c51
commit
9c7201c3b1
2 changed files with 9 additions and 1 deletions
|
|
@ -113,7 +113,11 @@ while (1)
|
|||
my $model = shift @ARGV;
|
||||
|
||||
# Find out the start of the never claim.
|
||||
my $neverstartline = 3 + `wc -l <"$model"`;
|
||||
# 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 = "($neverstartline_spin517|$neverstartline_spin520)";
|
||||
|
||||
# Create the automaton
|
||||
open NEVER, ">never.$$";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue