fix clang builds

This commit is contained in:
Ryan Fleury
2024-11-01 15:22:26 -07:00
parent 4164b30aac
commit 6d55d21643
6 changed files with 39 additions and 47 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ e_token_array_from_text(Arena *arena, String8 text)
}break;
case E_TokenKind_Numeric:
{
if(exp && byte == '+' || byte == '-'){}
if(exp && (byte == '+' || byte == '-')){}
else if(!char_is_alpha(byte) && !char_is_digit(byte, 10) && byte != '.' && byte != ':')
{
advance = 0;