X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/eff97eb54a1ff17da66f9d1c746eb009feeba889..9ce27ab013185d1c17c78e0d57ff637319cb1e29:/src/print_graph.c diff --git a/src/print_graph.c b/src/print_graph.c index 8dd8db43..61d36512 100644 --- a/src/print_graph.c +++ b/src/print_graph.c @@ -133,7 +133,7 @@ print_actions (state const *s, FILE *fgraph) : "dashed"); if (TRANSITION_IS_ERROR (trans, i) - && strcmp (symbols[sym]->tag, "error") != 0) + && STRNEQ (symbols[sym]->tag, "error")) abort (); output_edge (s->number, s1->number, TRANSITION_IS_ERROR (trans, i) ? NULL : symbols[sym]->tag,