Remove 0h float panic which will have been caught previously by the tokenizer

This commit is contained in:
gingerBill
2026-06-19 09:08:52 +01:00
parent b2ab8c7f8b
commit 417aa0ea9e

View File

@@ -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);
}
}