]> granicus.if.org Git - re2c/commitdiff
generate slighlty better code when testing yyaccept
authornuno-lopes <nuno-lopes@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 14 Aug 2008 16:55:27 +0000 (16:55 +0000)
committernuno-lopes <nuno-lopes@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 14 Aug 2008 16:55:27 +0000 (16:55 +0000)
23 files changed:
re2c/code.cc
re2c/test/bug1479044.b.c
re2c/test/bug1479044.c
re2c/test/bug1479044.s.c
re2c/test/bug1708378.ib.c
re2c/test/c.c
re2c/test/cmmap.c
re2c/test/cnokw.c
re2c/test/cunroll.c
re2c/test/input8.b.c
re2c/test/input8.c
re2c/test/input8.g.c
re2c/test/modula.c
re2c/test/parse_date.b.c
re2c/test/parse_date.c
re2c/test/parse_date.db.c
re2c/test/parse_date.s.c
re2c/test/parse_date_1_78.db.c
re2c/test/repeater.c
re2c/test/scanner.c
re2c/test/scanner.fs.c
re2c/test/scanner.s.c
re2c/test/yyaccept_missing.bci.c

index 4c81deed58c17e7203e2731165788d5697b3edc1..c84f6f2812a92a989fb5e2ceea0fdf79448b267b 100644 (file)
@@ -626,7 +626,7 @@ void Accept::emitBinary(std::ostream &o, uint ind, uint l, uint r, bool &readCh)
                uint m = (l + r) >> 1;
 
                assert(bUsedYYAccept);
-               o << indent(ind) << "if (" << mapCodeName["yyaccept"] << " <= " << m << ") {\n";
+               o << indent(ind) << "if (" << mapCodeName["yyaccept"] << (r == l+1 ? " == " : " <= ") << m << ") {\n";
                emitBinary(o, ++ind, l, m, readCh);
                o << indent(--ind) << "} else {\n";
                emitBinary(o, ++ind, m + 1, r, readCh);
@@ -671,7 +671,7 @@ void Accept::emit(std::ostream &o, uint ind, bool &readCh, const std::string&) c
                                o << indent(ind) << "goto *" << mapCodeName["yytarget"] << "[" << mapCodeName["yyaccept"] << "];\n";
                                o << indent(--ind) << "}\n";
                        }
-                       else if (sFlag)
+                       else if (sFlag || mapRules.size() == 2)
                        {
                                emitBinary(o, ind, 0, mapRules.size() - 1, readCh);
                        }
@@ -686,11 +686,23 @@ void Accept::emit(std::ostream &o, uint ind, bool &readCh, const std::string&) c
                        else
                        {
                                o << indent(ind) << "switch (" << mapCodeName["yyaccept"] << ") {\n";
+
+                               RuleMap::const_iterator it = mapRules.begin(), end = mapRules.end();
                
-                               for (RuleMap::const_iterator it = mapRules.begin(); it != mapRules.end(); ++it)
+                               while (it != end)
                                {
-                                       o << indent(ind) << "case " << it->first << ": \t";
-                                       genGoTo(o, 0, state, it->second, readCh);
+                                       RuleMap::const_iterator tmp = it;
+
+                                       if (++it == end)
+                                       {
+                                               o << indent(ind) << "default:\t";
+                                       }
+                                       else
+                                       {
+                                               o << indent(ind) << "case " << tmp->first << ": \t";
+                                       }
+
+                                       genGoTo(o, 0, state, tmp->second, readCh);
                                }
                        
                                o << indent(ind) << "}\n";
index e15f97a6118240e4ccba0eb163323a2baf725a5b..ac013f49d282a35ea8e0359726f193a3bbe1f688 100755 (executable)
@@ -224,13 +224,13 @@ yy18:
 yy19:
        YYCURSOR = YYMARKER;
        if (yyaccept <= 1) {
-               if (yyaccept <= 0) {
+               if (yyaccept == 0) {
                        goto yy3;
                } else {
                        goto yy63;
                }
        } else {
-               if (yyaccept <= 2) {
+               if (yyaccept == 2) {
                        goto yy107;
                } else {
                        goto yy132;
index 915f2fedb655ec4caed4d00f71089ace36f870c9..4b88f5d07b46db51847774bf750fe763fa1dfb5b 100755 (executable)
@@ -181,7 +181,7 @@ yy19:
        case 0:         goto yy3;
        case 1:         goto yy63;
        case 2:         goto yy107;
-       case 3:         goto yy132;
+       default:        goto yy132;
        }
 yy20:
        ++YYCURSOR;
index 00a3b2b45fbd3193010673f9312c6914c8c89ab8..f264d2507c4f67dcde58bcc77a20dc1e56df914d 100755 (executable)
@@ -155,13 +155,13 @@ yy18:
 yy19:
        YYCURSOR = YYMARKER;
        if (yyaccept <= 1) {
-               if (yyaccept <= 0) {
+               if (yyaccept == 0) {
                        goto yy3;
                } else {
                        goto yy63;
                }
        } else {
-               if (yyaccept <= 2) {
+               if (yyaccept == 2) {
                        goto yy107;
                } else {
                        goto yy132;
index 77ff2650e0057bfe1032113bb3e99f63a420b64b..416e5d9f3a43a0f244bf0c7756ceae5158e61841 100755 (executable)
@@ -256,7 +256,7 @@ yy20:
        YYCURSOR = YYMARKER;
        if (yyaccept <= 2) {
                if (yyaccept <= 1) {
-                       if (yyaccept <= 0) {
+                       if (yyaccept == 0) {
                                goto yy3;
                        } else {
                                goto yy46;
@@ -265,7 +265,7 @@ yy20:
                        goto yy738;
                }
        } else {
-               if (yyaccept <= 3) {
+               if (yyaccept == 3) {
                        goto yy2116;
                } else {
                        goto yy3187;
index 3ef0bebeb027053727bdb07b6fa9e94ed23cd3d1..304f7ca11461de7afdc26fce0355f64c20d2c5a9 100644 (file)
@@ -741,7 +741,7 @@ yy122:
        case 0:         goto yy22;
        case 1:         goto yy25;
        case 2:         goto yy27;
-       case 3:         goto yy134;
+       default:        goto yy134;
        }
 yy123:
        ++YYCURSOR;
index 9a78f8dca73494cc0e482f6ae473588b6e312324..93d51028849629d92820f91dc30dc4e874bb9474 100644 (file)
@@ -724,7 +724,7 @@ yy122:
        case 0:         goto yy22;
        case 1:         goto yy25;
        case 2:         goto yy27;
-       case 3:         goto yy134;
+       default:        goto yy134;
        }
 yy123:
        ++YYCURSOR;
index 849601b2a9948b574d5de4fd73beb6769eb1a811..8dce44888c937984dae37364b8ae7b6e2906a3da 100644 (file)
@@ -642,7 +642,7 @@ yy107:
        case 0:         goto yy7;
        case 1:         goto yy10;
        case 2:         goto yy12;
-       case 3:         goto yy119;
+       default:        goto yy119;
        }
 yy108:
        ++YYCURSOR;
index 486047aa1e8086a751d64142276de01a1328d0f2..20e3e319ae5d48ac8fbc2bc65749818389545d50 100644 (file)
@@ -706,7 +706,7 @@ yy107:
        case 0:         goto yy7;
        case 1:         goto yy10;
        case 2:         goto yy12;
-       case 3:         goto yy119;
+       default:        goto yy119;
        }
 yy108:
        ++YYCURSOR;
index 3c6f2af714e881e5b70938ddd1b3621d4b1c1783..70818bafb15ddf998a618a4e0c92c0aec6726acb 100755 (executable)
@@ -37,7 +37,7 @@ yy8:
        if (yych != '\n') goto yy11;
 yy9:
        YYCURSOR = YYMARKER;
-       if (yyaccept <= 0) {
+       if (yyaccept == 0) {
                goto yy3;
        } else {
                goto yy7;
index b4e0bd7f6065bdebfd95df2ac9e46de316484826..53570a6ac0cc86367a6e7ff58ad12568c9ffa231 100755 (executable)
@@ -50,9 +50,10 @@ yy8:
        }
 yy9:
        YYCURSOR = YYMARKER;
-       switch (yyaccept) {
-       case 0:         goto yy3;
-       case 1:         goto yy7;
+       if (yyaccept == 0) {
+               goto yy3;
+       } else {
+               goto yy7;
        }
 yy10:
        yych = *++YYCURSOR;
index 22ad79319339419f6d77e27c195c28715e12b1b3..2b767cc8e0501eeb0b7c482db068903911ba117d 100755 (executable)
@@ -37,7 +37,7 @@ yy8:
        if (yych != '\n') goto yy11;
 yy9:
        YYCURSOR = YYMARKER;
-       if (yyaccept <= 0) {
+       if (yyaccept == 0) {
                goto yy3;
        } else {
                goto yy7;
index eea587a222be3e1042c3d5715e33f41d6d0147ea..55fae6a799bd21d4731ae2e48c9d3c7f6a6cee05 100644 (file)
@@ -4033,7 +4033,7 @@ yy270:
        case 1:         goto yy8;
        case 2:         goto yy276;
        case 3:         goto yy294;
-       case 4:         goto yy296;
+       default:        goto yy296;
        }
 yy271:
        ++YYCURSOR;
index 1e0ef84f1eac6920f74cc727d076aacf58ba1c26..895b3d52ec813055d84d6f474e07f5401731cf88 100755 (executable)
@@ -2181,13 +2181,13 @@ yy53:
                if (yyaccept <= 6) {
                        if (yyaccept <= 3) {
                                if (yyaccept <= 1) {
-                                       if (yyaccept <= 0) {
+                                       if (yyaccept == 0) {
                                                goto yy12;
                                        } else {
                                                goto yy3;
                                        }
                                } else {
-                                       if (yyaccept <= 2) {
+                                       if (yyaccept == 2) {
                                                goto yy46;
                                        } else {
                                                goto yy69;
@@ -2195,7 +2195,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 5) {
-                                       if (yyaccept <= 4) {
+                                       if (yyaccept == 4) {
                                                goto yy172;
                                        } else {
                                                goto yy341;
@@ -2207,13 +2207,13 @@ yy53:
                } else {
                        if (yyaccept <= 10) {
                                if (yyaccept <= 8) {
-                                       if (yyaccept <= 7) {
+                                       if (yyaccept == 7) {
                                                goto yy385;
                                        } else {
                                                goto yy420;
                                        }
                                } else {
-                                       if (yyaccept <= 9) {
+                                       if (yyaccept == 9) {
                                                goto yy526;
                                        } else {
                                                goto yy620;
@@ -2221,7 +2221,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 12) {
-                                       if (yyaccept <= 11) {
+                                       if (yyaccept == 11) {
                                                goto yy634;
                                        } else {
                                                goto yy775;
@@ -2235,13 +2235,13 @@ yy53:
                if (yyaccept <= 20) {
                        if (yyaccept <= 17) {
                                if (yyaccept <= 15) {
-                                       if (yyaccept <= 14) {
+                                       if (yyaccept == 14) {
                                                goto yy880;
                                        } else {
                                                goto yy916;
                                        }
                                } else {
-                                       if (yyaccept <= 16) {
+                                       if (yyaccept == 16) {
                                                goto yy943;
                                        } else {
                                                goto yy889;
@@ -2249,7 +2249,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 19) {
-                                       if (yyaccept <= 18) {
+                                       if (yyaccept == 18) {
                                                goto yy1043;
                                        } else {
                                                goto yy937;
@@ -2261,7 +2261,7 @@ yy53:
                } else {
                        if (yyaccept <= 23) {
                                if (yyaccept <= 22) {
-                                       if (yyaccept <= 21) {
+                                       if (yyaccept == 21) {
                                                goto yy1154;
                                        } else {
                                                goto yy1200;
@@ -2271,7 +2271,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 25) {
-                                       if (yyaccept <= 24) {
+                                       if (yyaccept == 24) {
                                                goto yy1279;
                                        } else {
                                                goto yy1287;
index f999133c2ce044baf66d03a6b4c5342abfc2dfae..8695cf02c330cfa6db476e51d45b673d44a2e68c 100755 (executable)
@@ -3332,7 +3332,7 @@ yy53:
        case 23:        goto yy1203;
        case 24:        goto yy1279;
        case 25:        goto yy1287;
-       case 26:        goto yy1310;
+       default:        goto yy1310;
        }
 yy54:
        ++YYCURSOR;
index 7677d39e1507dd5b6900c65fd8a564929105281b..4fb06190dd9a2aa6e426e59bc2db7acd0ddfb7ce 100755 (executable)
@@ -2311,13 +2311,13 @@ yy53:
                if (yyaccept <= 6) {
                        if (yyaccept <= 3) {
                                if (yyaccept <= 1) {
-                                       if (yyaccept <= 0) {
+                                       if (yyaccept == 0) {
                                                goto yy3;
                                        } else {
                                                goto yy12;
                                        }
                                } else {
-                                       if (yyaccept <= 2) {
+                                       if (yyaccept == 2) {
                                                goto yy46;
                                        } else {
                                                goto yy69;
@@ -2325,7 +2325,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 5) {
-                                       if (yyaccept <= 4) {
+                                       if (yyaccept == 4) {
                                                goto yy176;
                                        } else {
                                                goto yy405;
@@ -2337,13 +2337,13 @@ yy53:
                } else {
                        if (yyaccept <= 10) {
                                if (yyaccept <= 8) {
-                                       if (yyaccept <= 7) {
+                                       if (yyaccept == 7) {
                                                goto yy448;
                                        } else {
                                                goto yy491;
                                        }
                                } else {
-                                       if (yyaccept <= 9) {
+                                       if (yyaccept == 9) {
                                                goto yy601;
                                        } else {
                                                goto yy698;
@@ -2351,7 +2351,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 12) {
-                                       if (yyaccept <= 11) {
+                                       if (yyaccept == 11) {
                                                goto yy713;
                                        } else {
                                                goto yy860;
@@ -2365,13 +2365,13 @@ yy53:
                if (yyaccept <= 20) {
                        if (yyaccept <= 17) {
                                if (yyaccept <= 15) {
-                                       if (yyaccept <= 14) {
+                                       if (yyaccept == 14) {
                                                goto yy971;
                                        } else {
                                                goto yy1005;
                                        }
                                } else {
-                                       if (yyaccept <= 16) {
+                                       if (yyaccept == 16) {
                                                goto yy1032;
                                        } else {
                                                goto yy978;
@@ -2379,7 +2379,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 19) {
-                                       if (yyaccept <= 18) {
+                                       if (yyaccept == 18) {
                                                goto yy1134;
                                        } else {
                                                goto yy1026;
@@ -2391,7 +2391,7 @@ yy53:
                } else {
                        if (yyaccept <= 23) {
                                if (yyaccept <= 22) {
-                                       if (yyaccept <= 21) {
+                                       if (yyaccept == 21) {
                                                goto yy1246;
                                        } else {
                                                goto yy1301;
@@ -2401,7 +2401,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 25) {
-                                       if (yyaccept <= 24) {
+                                       if (yyaccept == 24) {
                                                goto yy1382;
                                        } else {
                                                goto yy1390;
index 2d7634bac2bb443b10f705376eff876602a3f0c4..390626f0936afa527c076a040842c304c12bb12c 100755 (executable)
@@ -2153,13 +2153,13 @@ yy53:
                if (yyaccept <= 6) {
                        if (yyaccept <= 3) {
                                if (yyaccept <= 1) {
-                                       if (yyaccept <= 0) {
+                                       if (yyaccept == 0) {
                                                goto yy12;
                                        } else {
                                                goto yy3;
                                        }
                                } else {
-                                       if (yyaccept <= 2) {
+                                       if (yyaccept == 2) {
                                                goto yy46;
                                        } else {
                                                goto yy69;
@@ -2167,7 +2167,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 5) {
-                                       if (yyaccept <= 4) {
+                                       if (yyaccept == 4) {
                                                goto yy172;
                                        } else {
                                                goto yy341;
@@ -2179,13 +2179,13 @@ yy53:
                } else {
                        if (yyaccept <= 10) {
                                if (yyaccept <= 8) {
-                                       if (yyaccept <= 7) {
+                                       if (yyaccept == 7) {
                                                goto yy385;
                                        } else {
                                                goto yy420;
                                        }
                                } else {
-                                       if (yyaccept <= 9) {
+                                       if (yyaccept == 9) {
                                                goto yy526;
                                        } else {
                                                goto yy620;
@@ -2193,7 +2193,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 12) {
-                                       if (yyaccept <= 11) {
+                                       if (yyaccept == 11) {
                                                goto yy634;
                                        } else {
                                                goto yy775;
@@ -2207,13 +2207,13 @@ yy53:
                if (yyaccept <= 20) {
                        if (yyaccept <= 17) {
                                if (yyaccept <= 15) {
-                                       if (yyaccept <= 14) {
+                                       if (yyaccept == 14) {
                                                goto yy880;
                                        } else {
                                                goto yy916;
                                        }
                                } else {
-                                       if (yyaccept <= 16) {
+                                       if (yyaccept == 16) {
                                                goto yy943;
                                        } else {
                                                goto yy889;
@@ -2221,7 +2221,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 19) {
-                                       if (yyaccept <= 18) {
+                                       if (yyaccept == 18) {
                                                goto yy1043;
                                        } else {
                                                goto yy937;
@@ -2233,7 +2233,7 @@ yy53:
                } else {
                        if (yyaccept <= 23) {
                                if (yyaccept <= 22) {
-                                       if (yyaccept <= 21) {
+                                       if (yyaccept == 21) {
                                                goto yy1154;
                                        } else {
                                                goto yy1200;
@@ -2243,7 +2243,7 @@ yy53:
                                }
                        } else {
                                if (yyaccept <= 25) {
-                                       if (yyaccept <= 24) {
+                                       if (yyaccept == 24) {
                                                goto yy1279;
                                        } else {
                                                goto yy1287;
index 1d565e50921e453d982063b090b67ce183059e61..543a2101a929e729af1d4ce1315a73898c331e44 100755 (executable)
@@ -2422,7 +2422,7 @@ yy54:
                        if (yyaccept <= 4) {
                                if (yyaccept <= 2) {
                                        if (yyaccept <= 1) {
-                                               if (yyaccept <= 0) {
+                                               if (yyaccept == 0) {
                                                        goto yy3;
                                                } else {
                                                        goto yy12;
@@ -2431,7 +2431,7 @@ yy54:
                                                goto yy47;
                                        }
                                } else {
-                                       if (yyaccept <= 3) {
+                                       if (yyaccept == 3) {
                                                goto yy70;
                                        } else {
                                                goto yy184;
@@ -2439,13 +2439,13 @@ yy54:
                                }
                        } else {
                                if (yyaccept <= 6) {
-                                       if (yyaccept <= 5) {
+                                       if (yyaccept == 5) {
                                                goto yy278;
                                        } else {
                                                goto yy288;
                                        }
                                } else {
-                                       if (yyaccept <= 7) {
+                                       if (yyaccept == 7) {
                                                goto yy315;
                                        } else {
                                                goto yy320;
@@ -2455,13 +2455,13 @@ yy54:
                } else {
                        if (yyaccept <= 12) {
                                if (yyaccept <= 10) {
-                                       if (yyaccept <= 9) {
+                                       if (yyaccept == 9) {
                                                goto yy344;
                                        } else {
                                                goto yy417;
                                        }
                                } else {
-                                       if (yyaccept <= 11) {
+                                       if (yyaccept == 11) {
                                                goto yy573;
                                        } else {
                                                goto yy656;
@@ -2469,13 +2469,13 @@ yy54:
                                }
                        } else {
                                if (yyaccept <= 14) {
-                                       if (yyaccept <= 13) {
+                                       if (yyaccept == 13) {
                                                goto yy671;
                                        } else {
                                                goto yy787;
                                        }
                                } else {
-                                       if (yyaccept <= 15) {
+                                       if (yyaccept == 15) {
                                                goto yy836;
                                        } else {
                                                goto yy846;
@@ -2488,7 +2488,7 @@ yy54:
                        if (yyaccept <= 21) {
                                if (yyaccept <= 19) {
                                        if (yyaccept <= 18) {
-                                               if (yyaccept <= 17) {
+                                               if (yyaccept == 17) {
                                                        goto yy937;
                                                } else {
                                                        goto yy957;
@@ -2497,7 +2497,7 @@ yy54:
                                                goto yy988;
                                        }
                                } else {
-                                       if (yyaccept <= 20) {
+                                       if (yyaccept == 20) {
                                                goto yy995;
                                        } else {
                                                goto yy1022;
@@ -2505,13 +2505,13 @@ yy54:
                                }
                        } else {
                                if (yyaccept <= 23) {
-                                       if (yyaccept <= 22) {
+                                       if (yyaccept == 22) {
                                                goto yy967;
                                        } else {
                                                goto yy635;
                                        }
                                } else {
-                                       if (yyaccept <= 24) {
+                                       if (yyaccept == 24) {
                                                goto yy1147;
                                        } else {
                                                goto yy1016;
@@ -2521,13 +2521,13 @@ yy54:
                } else {
                        if (yyaccept <= 29) {
                                if (yyaccept <= 27) {
-                                       if (yyaccept <= 26) {
+                                       if (yyaccept == 26) {
                                                goto yy1241;
                                        } else {
                                                goto yy1249;
                                        }
                                } else {
-                                       if (yyaccept <= 28) {
+                                       if (yyaccept == 28) {
                                                goto yy1278;
                                        } else {
                                                goto yy1364;
@@ -2535,13 +2535,13 @@ yy54:
                                }
                        } else {
                                if (yyaccept <= 31) {
-                                       if (yyaccept <= 30) {
+                                       if (yyaccept == 30) {
                                                goto yy1367;
                                        } else {
                                                goto yy1447;
                                        }
                                } else {
-                                       if (yyaccept <= 32) {
+                                       if (yyaccept == 32) {
                                                goto yy1455;
                                        } else {
                                                goto yy1478;
index 431be77dfb75797e70804fd26ba93b1da0bb774e..c75cfa83b13d04653c0d1ca6ce6dce05b52d8fce 100644 (file)
@@ -71,15 +71,16 @@ yy8:
        }
 yy9:
        YYCURSOR = YYMARKER;
-       switch (yyaccept) {
-       case 0:         goto yy3;
-       case 1:         goto yy5;
+       if (yyaccept == 0) {
+               goto yy3;
+       } else {
+               goto yy5;
        }
 yy10:
        ++YYCURSOR;
 #line 18 "repeater.re"
        {RET(1);}
-#line 83 "<stdout>"
+#line 84 "<stdout>"
 yy12:
        yych = *++YYCURSOR;
        switch (yych) {
@@ -92,7 +93,7 @@ yy13:
        ++YYCURSOR;
 #line 19 "repeater.re"
        {RET(2);}
-#line 96 "<stdout>"
+#line 97 "<stdout>"
 yy15:
        yych = *++YYCURSOR;
        switch (yych) {
@@ -113,7 +114,7 @@ yy17:
        ++YYCURSOR;
 #line 21 "repeater.re"
        {RET(4);}
-#line 117 "<stdout>"
+#line 118 "<stdout>"
 yy19:
        yych = *++YYCURSOR;
        switch (yych) {
@@ -124,7 +125,7 @@ yy20:
        ++YYCURSOR;
 #line 20 "repeater.re"
        {RET(3);}
-#line 128 "<stdout>"
+#line 129 "<stdout>"
 yy22:
        ++YYCURSOR;
        if (YYLIMIT <= YYCURSOR) YYFILL(1);
index bfae72cd6c847f0fe1b0b24b1f3a885c4b7cf036..ac69d6b6c7922f2de42f30573f8478c829c40fc9 100644 (file)
@@ -669,7 +669,7 @@ yy66:
        case 3:         goto yy42;
        case 4:         goto yy46;
        case 5:         goto yy69;
-       case 6:         goto yy98;
+       default:        goto yy98;
        }
 yy67:
        yyaccept = 5;
index d2f74d93e998282c16cb6e1dd203a07e18273b74..e741faf9c9726276fb8950905476dbbf16b5680f 100755 (executable)
@@ -499,13 +499,13 @@ yy66:
        YYCURSOR = YYMARKER;
        if (yyaccept <= 3) {
                if (yyaccept <= 1) {
-                       if (yyaccept <= 0) {
+                       if (yyaccept == 0) {
                                goto yy32;
                        } else {
                                goto yy38;
                        }
                } else {
-                       if (yyaccept <= 2) {
+                       if (yyaccept == 2) {
                                goto yy40;
                        } else {
                                goto yy42;
@@ -513,7 +513,7 @@ yy66:
                }
        } else {
                if (yyaccept <= 5) {
-                       if (yyaccept <= 4) {
+                       if (yyaccept == 4) {
                                goto yy46;
                        } else {
                                goto yy69;
index 7231167e0c56909c8ce798cd1bddf94d16088d48..0c5a9f8525adfa90924ef2ccb2163731ad90c12f 100755 (executable)
@@ -454,13 +454,13 @@ yy66:
        YYCURSOR = YYMARKER;
        if (yyaccept <= 3) {
                if (yyaccept <= 1) {
-                       if (yyaccept <= 0) {
+                       if (yyaccept == 0) {
                                goto yy32;
                        } else {
                                goto yy38;
                        }
                } else {
-                       if (yyaccept <= 2) {
+                       if (yyaccept == 2) {
                                goto yy40;
                        } else {
                                goto yy42;
@@ -468,7 +468,7 @@ yy66:
                }
        } else {
                if (yyaccept <= 5) {
-                       if (yyaccept <= 4) {
+                       if (yyaccept == 4) {
                                goto yy46;
                        } else {
                                goto yy69;
index 2711e5a6e767e82a148be1bd1789637c478bb4d3..212c5fdfeb6950bcadc449bd935b449c8c7af775 100755 (executable)
@@ -124,7 +124,7 @@ yy12:
                                if (yych <= 'z') goto yy16;
 yy13:
                                YYCURSOR = YYMARKER;
-                               if (yyaccept <= 0) {
+                               if (yyaccept == 0) {
                                        goto yy11;
                                } else {
                                        goto yy17;