mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix typo in bf16 suffix parsing logic
This commit is contained in:
committed by
Christoffer Lerno
parent
1d25197bfd
commit
0470f3be8e
@@ -104,7 +104,7 @@ static char *err_hex_float_format_invalid = "Hex floating points must end with '
|
||||
|
||||
TypeKind float_suffix(char c, const char **index_ref, char** error_ref)
|
||||
{
|
||||
if (c == 'b' && (*index_ref)[0] == 'f' && (*index_ref)[1] == '1' && (*index_ref)[1] == '6')
|
||||
if (c == 'b' && (*index_ref)[0] == 'f' && (*index_ref)[1] == '1' && (*index_ref)[2] == '6')
|
||||
{
|
||||
(*index_ref) += 4;
|
||||
return TYPE_BF16;
|
||||
|
||||
Reference in New Issue
Block a user