10 for (; r1 && r2; r1 = r1->
next (), r2 = r2->
next ())
12 if (r1->
lower () != r2->lower ()
13 || r1->
upper () != r2->upper ())
25 fprintf (stderr,
"[]");
27 for (; r; r = r->
next ())
29 const uint32_t l = r->
lower ();
30 const uint32_t u = r->
upper () - 1;
33 fprintf (stderr,
"[%X-%X]", l, u);
37 fprintf (stderr,
"[%X]", l);
55 fprintf (stderr,
"%s error: ", op);
57 fprintf (stderr,
" %s ", op);
59 fprintf (stderr,
" ====> ");
61 fprintf (stderr,
" =/= ");
63 fprintf (stderr,
"\n");
72 static const uint32_t BITS = 8;
73 static const uint32_t N = 1u << BITS;
74 for (uint32_t i = 0; i <= N; ++i)
76 for (uint32_t j = 0; j <= N; ++j)
static Range * sub(const Range *r1, const Range *r2)
static free_list< Range * > vFreeList
static bool equal(const re2c::Range *r1, const re2c::Range *r2)
static int32_t diff(const re2c::Range *r1, const re2c::Range *r2, const re2c::Range *op1, const re2c::Range *op2, const char *op)
static void show(const re2c::Range *r)
static Range * add(const Range *r1, const Range *r2)