]> granicus.if.org Git - re2c/commitdiff
Debug '--dump-adfa' option: drop 'YYFILL' in move states, it's fictive.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 5 Dec 2016 22:19:37 +0000 (22:19 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 5 Dec 2016 22:19:37 +0000 (22:19 +0000)
re2c/src/ir/adfa/dump.cc

index 115d8a981ee96ae6a36a767460d18230c0ffd2e2..c7e50cf087a9ece7e60b841810775a7feb3fbc83 100644 (file)
@@ -46,7 +46,7 @@ void dump_adfa(const DFA &dfa)
                        default:             attr = ""; break;
                }
                fprintf(stderr, "  n%p [height=0.2 width=0.2 label=\"", (void*)s);
-               if (s->fill) {
+               if (s->fill && action != Action::MOVE) {
                        fprintf(stderr, "F(%u) ", (uint32_t)s->fill);
                }
                if (action == Action::RULE) {