]> granicus.if.org Git - re2c/commitdiff
Continued separating .dot case from other cases in codegen.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 4 Mar 2015 17:23:28 +0000 (17:23 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 4 Mar 2015 17:23:28 +0000 (17:23 +0000)
re2c/code.cc

index 018eb9091b7b2d3aab3370e6d1bc31fb4ef67736..8d031644b7ef41eceb65e9fbbb292f4641d98f23 100644 (file)
@@ -736,10 +736,6 @@ static void doLinear(OutputFile & o, uint ind, Span *s, uint n, const State *fro
                                        genIf(o, ind, "!=", s[0].ub, readCh);
                                        genGoTo(o, 0, from, bg, readCh);
                                }
-                               if (DFlag)
-                               {
-                                       genGoTo(o, ind, from, next, readCh);
-                               }
                                return ;
                        }
                        else
@@ -770,10 +766,6 @@ static void doLinear(OutputFile & o, uint ind, Span *s, uint n, const State *fro
                                genIf(o, ind, ">=", s[0].ub, readCh);
                                genGoTo(o, 0, from, s[1].to, readCh);
                        }
-                       if (DFlag)
-                       {
-                               genGoTo(o, ind, from, next, readCh);
-                       }
                        return ;
                }
                else
@@ -787,11 +779,6 @@ static void doLinear(OutputFile & o, uint ind, Span *s, uint n, const State *fro
                        s += 1;
                }
        }
-
-       if (DFlag)
-       {
-               genGoTo(o, ind, from, next, readCh);
-       }
 }
 
 void Go::genLinear(OutputFile & o, uint ind, const State *from, const State *next, bool &readCh, uint mask) const