| 1444 | |
| 1445 | |
| 1446 | static void labelstat (LexState *ls, TString *name, int line) { |
| 1447 | /* label -> '::' NAME '::' */ |
| 1448 | checknext(ls, TK_DBCOLON); /* skip double colon */ |
| 1449 | while (ls->t.token == ';' || ls->t.token == TK_DBCOLON) |
| 1450 | statement(ls); /* skip other no-op statements */ |
| 1451 | checkrepeated(ls, name); /* check for repeated labels */ |
| 1452 | createlabel(ls, name, line, block_follow(ls, 0)); |
| 1453 | } |
| 1454 | |
| 1455 | |
| 1456 | static void whilestat (LexState *ls, int line) { |
no test coverage detected