Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
St0wy committed Jan 19, 2024
1 parent b0fa880 commit b9c0ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txti/txti.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ txti_token_array_from_string__rust(Arena *arena, U64 *bytes_processed_counter, S
}break;
case TXTI_TokenKind_Numeric:
{
ender_found = (!char_is_alpha(byte) && !char_is_digit(byte, 10) && byte != '_' && byte != '.');
ender_found = (!char_is_alpha(byte) && !char_is_digit(byte, 10) && byte != '_' && (byte != '.' || next_byte == '.'));
}break;
case TXTI_TokenKind_String:
{
Expand Down

0 comments on commit b9c0ce3

Please sign in to comment.