| 1571 | |
| 1572 | |
| 1573 | static void labelstat (LexState *ls, TString *name, int line) { |
| 1574 | /* label -> '::' NAME '::' */ |
| 1575 | checknext(ls, TK_DBCOLON); /* skip double colon */ |
| 1576 | while (ls->t.token == ';' || ls->t.token == TK_DBCOLON) |
| 1577 | statement(ls); /* skip other no-op statements */ |
| 1578 | checkrepeated(ls, name); /* check for repeated labels */ |
| 1579 | createlabel(ls, name, line, block_follow(ls, 0)); |
| 1580 | } |
| 1581 | |
| 1582 | |
| 1583 | static void whilestat (LexState *ls, int line) { |
no test coverage detected