mirror of
				https://github.com/eledio-devices/thirdparty-tinyexpr.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	fully allow upper-case letters in variable names
This commit is contained in:
		| @@ -243,7 +243,7 @@ void next_token(state *s) { | ||||
|             s->type = TOK_NUMBER; | ||||
|         } else { | ||||
|             /* Look for a variable or builtin function call. */ | ||||
|             if (s->next[0] >= 'a' && s->next[0] <= 'z') { | ||||
|             if (isalpha(s->next[0])) { | ||||
|                 const char *start; | ||||
|                 start = s->next; | ||||
|                 while (isalpha(s->next[0]) || isdigit(s->next[0]) || (s->next[0] == '_')) s->next++; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user