mirror of
				https://github.com/eledio-devices/thirdparty-tinyexpr.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Refactored print function
This commit is contained in:
		| @@ -381,10 +381,7 @@ double te_interp(const char *expression, int *error) { | |||||||
|  |  | ||||||
|  |  | ||||||
| static void pn (const te_expr *n, int depth) { | static void pn (const te_expr *n, int depth) { | ||||||
|     int i; |     printf("%*s", depth, ""); | ||||||
|     for (i = 0; i < depth; ++i) { |  | ||||||
|         printf(" "); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     if (n->bound) { |     if (n->bound) { | ||||||
|         printf("bound %p\n", n->bound); |         printf("bound %p\n", n->bound); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user