| 1633 | |
| 1634 | |
| 1635 | static void optionalheadfail (lua_State *L, int l1, int n) { |
| 1636 | Instruction *op = newpatt(L, n * l1); |
| 1637 | Instruction *p = op; |
| 1638 | int i; |
| 1639 | for (i = 0; i < n; i++) { |
| 1640 | p += addpatt(L, p, 1); |
| 1641 | check2test(p - l1, (n - i)*l1); |
| 1642 | } |
| 1643 | } |
| 1644 | |
| 1645 | |
| 1646 | static void optionals (lua_State *L, int l1, int n) { |
no test coverage detected