mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
fix compile -Werrors
This commit is contained in:
parent
630917b29b
commit
9dbedb02cc
@ -654,6 +654,7 @@ static bool num_lit_fits_in_other_type(CodeGen *g, TypeTableEntry *literal_type,
|
||||
return false;
|
||||
}
|
||||
}
|
||||
zig_unreachable();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user