authorgravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2015-12-14 10:31:32-07:00
committergravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2015-12-14 10:31:32-07:00
log9dbedb02cc7291b2d67407183399667205c4e0af
treeda3c591944b4c1452f03c788691a6750bdc53b75
parent630917b29b00f8bc1a867921c3f0e34d798a0515

fix compile -Werrors


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,
654654 return false;
655655 }
656656 }
657 zig_unreachable();
657658}
658659
659660
src/parser.cpp+5
......@@ -701,6 +701,11 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi
701701 double x;
702702
703703 (void)x;
704 (void)decimal_end;
705 (void)e_present;
706 (void)e_positive;
707 (void)e_digit_start;
708 (void)e_digit_end;
704709 zig_panic("TODO parse float");
705710 } else {
706711 // integer