}
}
-static int32_t precedence(psimctx_t &ctx, const conf_t &x
- , const conf_t &y RE2C_ATTR((unused)))
+static int32_t precedence(psimctx_t &ctx, const conf_t &x, const conf_t &y)
{
- DASSERT(x.state == y.state);
+ DASSERT(x.state == y.state); (void)y;
const uint32_t idx = index(x.state, ctx.nfa);
const size_t ntags = ctx.nfa.tags.size();
if (x.thist == y.thist) continue;
std::vector<int32_t> &p1 = ctx.history.path1, &p2 = ctx.history.path2;
- const int32_t
- n1 RE2C_ATTR((unused)) = subhistory_list(ctx.history, p1, x.thist, t),
- n2 RE2C_ATTR((unused)) = subhistory_list(ctx.history, p2, y.thist, t);
+ int32_t n1, n2;
+ (void)(n1 = subhistory_list(ctx.history, p1, x.thist, t));
+ (void)(n2 = subhistory_list(ctx.history, p2, y.thist, t));
DASSERT(n1 == n2);
std::vector<int32_t>::const_reverse_iterator