">", isnew ? "" : "i", state);
for (s = s1; s != s2; ++s) {
- fprintf(stderr, "<TR><TD ALIGN=\"left\" PORT=\"_%u_%ld\"%s%s><FONT%s>%u",
- index(s->state), s - s1, color, style, color, index(s->state));
+ fprintf(stderr, "<TR><TD ALIGN=\"left\" PORT=\"_%u_%d\"%s%s><FONT%s>%u",
+ index(s->state), (int)(s - s1), color, style, color, index(s->state));
closure_tags(s);
fprintf(stderr, "</FONT></TD></TR>");
}
closure(clos, 0, true);
fprintf(stderr, " void [shape=point]\n");
for (cclositer_t c = shadow->begin(); c != shadow->end(); ++c) {
- fprintf(stderr, " void -> 0:_%u_%ld:w [style=dotted color=lightgray fontcolor=lightgray label=\"", index(c->state), c - shadow->begin());
+ fprintf(stderr, " void -> 0:_%u_%d:w [style=dotted color=lightgray fontcolor=lightgray label=\"",
+ index(c->state), (int)(c - shadow->begin()));
dump_tags(tagpool, c->ttran, c->tvers);
fprintf(stderr, "\"]\n");
}
fprintf(stderr, "\"]\n");
}
for (cclositer_t b = shadow->begin(), c = b; c != shadow->end(); ++c) {
- fprintf(stderr, " %u:%u:e -> %s%u:_%u_%ld:w [color=lightgray fontcolor=lightgray label=\"%u",
- x, index(c->origin), prefix, z, index(c->state), c - b, a);
+ fprintf(stderr, " %u:%u:e -> %s%u:_%u_%d:w [color=lightgray fontcolor=lightgray label=\"%u",
+ x, index(c->origin), prefix, z, index(c->state), (int)(c - b), a);
dump_tags(tagpool, c->ttran, c->tvers);
fprintf(stderr, "\"]\n");
}
{
const opt_t *opts = o.block().opts;
const size_t sizeof_cunit = opts->encoding.szCodeUnit();
- const size_t norule = rule2key(Rule::NONE, sizeof_key, def);
+ const uint64_t norule = rule2key(Rule::NONE, sizeof_key, def);
std::string filename = opts->output_file;
if (filename.empty()) {
filename = "<stdout>";
{
const std::string &name = dfa.name;
const Rule &r = dfa.rules[rid];
- const size_t rkey = rule2key(rid, dfa.key_size, dfa.def_rule);
+ const uint64_t rkey = rule2key(rid, dfa.key_size, dfa.def_rule);
size_t ntag = 3;
for (size_t t = r.ltag; t < r.htag; ++t) {
const Tag &tag = dfa.tags[t];