fix compile -Werrors

This commit is contained in:
Josh Wolfe 2015-12-14 10:31:32 -07:00
parent 630917b29b
commit 9dbedb02cc
2 changed files with 6 additions and 0 deletions

View File

@ -654,6 +654,7 @@ static bool num_lit_fits_in_other_type(CodeGen *g, TypeTableEntry *literal_type,
return false;
}
}
zig_unreachable();
}

View File

@ -701,6 +701,11 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi
double x;
(void)x;
(void)decimal_end;
(void)e_present;
(void)e_positive;
(void)e_digit_start;
(void)e_digit_end;
zig_panic("TODO parse float");
} else {
// integer