mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-19 08:32:33 +00:00
Remove 0h float panic which will have been caught previously by the tokenizer
This commit is contained in:
@@ -337,7 +337,10 @@ gb_internal ExactValue exact_value_float_from_string(String string) {
|
||||
f64 f = bit_cast<f64>(u);
|
||||
return exact_value_float(f);
|
||||
} else {
|
||||
GB_PANIC("Invalid hexadecimal float, expected 8 or 16 digits, got %td", digit_count);
|
||||
// GB_PANIC("Invalid hexadecimal float, expected 4, 8, or 16 digits, got %td", digit_count);
|
||||
// NOTE(bill): This should be caught by the tokenizer, so just pretend it's an f64
|
||||
f64 f = bit_cast<f64>(u);
|
||||
return exact_value_float(f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user