]> granicus.if.org Git - re2c/commitdiff
Removed obsolete condition (makes no sense in single-pass mode).
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 7 Mar 2015 20:54:08 +0000 (20:54 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 7 Mar 2015 20:54:08 +0000 (20:54 +0000)
re2c/code.cc

index 8aaa8d68c60d0ba9507d46ad19f5f3dd80a6f0fd..d072401817f85cd9c699a1d1130d564061d008bb 100644 (file)
@@ -1034,7 +1034,7 @@ void Go::genGoto(OutputFile & o, uint ind, const State *from, const State *next,
                return;
        }
 
-       if ((gFlag || (encoding.szCodeUnit() > 1)) && wSpans == ~0u)
+       if (gFlag || (encoding.szCodeUnit() > 1))
        {
                uint nBitmaps = 0;
                std::set<uint> vTargets;