()
| 651 | } |
| 652 | |
| 653 | protected void multiLineComment() { |
| 654 | consume(); |
| 655 | |
| 656 | while (true) { |
| 657 | int c = consume(); |
| 658 | if (c < 0) { |
| 659 | throw new LexerException("unexpected end-of-file"); |
| 660 | } else if (c == '\n') { |
| 661 | incrementLine(); |
| 662 | } else if (c == '\r') { |
| 663 | if (la() == '\n') { |
| 664 | consume(); |
| 665 | } |
| 666 | incrementLine(); |
| 667 | } else if (c == '*' && la() == '/') { |
| 668 | consume(); |
| 669 | return; |
| 670 | } |
| 671 | } |
| 672 | } |
| 673 | |
| 674 | protected Token numericLiteral() { |
| 675 | int c = la(); |
no test coverage detected