- Fixed termlist printing.
This commit is contained in:
parent
75ecbf4346
commit
b22667a791
@ -919,6 +919,7 @@ int compute_roleeventmax (const System sys)
|
||||
void
|
||||
runInstancePrint (const System sys, const int run)
|
||||
{
|
||||
termPrint (sys->runs[run].role->nameterm);
|
||||
termlistPrint (sys->runs[run].agents);
|
||||
}
|
||||
|
||||
@ -931,9 +932,9 @@ scenarioPrint (const System sys)
|
||||
for (run = 0; run < sys->maxruns; run++)
|
||||
{
|
||||
runInstancePrint (sys, run);
|
||||
if (run < sys->maxruns - 2)
|
||||
if (run < sys->maxruns - 1)
|
||||
{
|
||||
printf (", ");
|
||||
printf ("\t");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,11 +3,8 @@
|
||||
|
||||
#include "symbol.h"
|
||||
|
||||
#define GLOBAL 1
|
||||
#define VARIABLE 2
|
||||
#define LEAF 3 // type <= LEAF means it's a leaf, nkay?
|
||||
#define ENCRYPT 4
|
||||
#define TUPLE 5
|
||||
// type <= LEAF means it's a leaf, nkay?
|
||||
enum termtypes { GLOBAL, VARIABLE, LEAF, ENCRYPT, TUPLE };
|
||||
|
||||
//! The most basic datatype in the modelchecker.
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user