| author | |
| committer | |
| log | 9dbedb02cc7291b2d67407183399667205c4e0af |
| tree | da3c591944b4c1452f03c788691a6750bdc53b75 |
| parent | 630917b29b00f8bc1a867921c3f0e34d798a0515 |
2 files changed, 6 insertions(+), 0 deletions(-)
src/analyze.cpp+1| ... | ... | @@ -654,6 +654,7 @@ static bool num_lit_fits_in_other_type(CodeGen *g, TypeTableEntry *literal_type, |
| 654 | 654 | return false; |
| 655 | 655 | } |
| 656 | 656 | } |
| 657 | zig_unreachable(); | |
| 657 | 658 | } |
| 658 | 659 | |
| 659 | 660 |
src/parser.cpp+5| ... | ... | @@ -701,6 +701,11 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi |
| 701 | 701 | double x; |
| 702 | 702 | |
| 703 | 703 | (void)x; |
| 704 | (void)decimal_end; | |
| 705 | (void)e_present; | |
| 706 | (void)e_positive; | |
| 707 | (void)e_digit_start; | |
| 708 | (void)e_digit_end; | |
| 704 | 709 | zig_panic("TODO parse float"); |
| 705 | 710 | } else { |
| 706 | 711 | // integer |