Commit 16336be3 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

acc: Do not restrict acceptance codes to small vectors.

* src/twa/acc.hh (acc_word): This is a 32-bit structure, so
we can use short for both size and op.
parent 203d0769
......@@ -252,15 +252,15 @@ namespace spot
};
// This encodes either an operator or set of acceptance sets.
enum class acc_op : unsigned char
enum class acc_op : unsigned short
{ Inf, Fin, InfNeg, FinNeg, And, Or };
union acc_word
{
mark_t mark;
struct {
acc_op op; // Operator
unsigned char size; // Size of the subtree (number of acc_word),
// not counting this node.
acc_op op; // Operator
unsigned short size; // Size of the subtree (number of acc_word),
// not counting this node.
};
};
......
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