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