()
| 672 | } |
| 673 | |
| 674 | protected Token numericLiteral() { |
| 675 | int c = la(); |
| 676 | |
| 677 | if (c == '0') { |
| 678 | int d = la(2); |
| 679 | if (d == 'x' || d == 'X') { |
| 680 | return hexLiteral(); |
| 681 | } else if (d >= '0' && d <= '7') { |
| 682 | return octalLiteral(); |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | return decimalLiteral(); |
| 687 | } |
| 688 | |
| 689 | protected Token octalLiteral() { |
| 690 | StringBuilder text = new StringBuilder(); |
no test coverage detected