| 110 | } |
| 111 | |
| 112 | bool ShouldContain(CCTest *t, int x) { |
| 113 | for (int j = 0; t->final[j].lo >= 0; j++) |
| 114 | if (t->final[j].lo <= x && x <= t->final[j].hi) |
| 115 | return true; |
| 116 | return false; |
| 117 | } |
| 118 | |
| 119 | // Helpers to make templated CorrectCC work with both CharClass and CharClassBuilder. |
| 120 |