1
0
mirror of https://github.com/kgabis/parson.git synced 2025-01-14 06:12:54 +08:00

Fix macro argument bug

This commit is contained in:
Erik Dubbelboer 2013-07-02 18:01:20 +02:00
parent 9dfee46821
commit 7ee068b7a6

View File

@ -36,7 +36,7 @@
#define MAX_NESTING 19
#define sizeof_token(a) (sizeof(a) - 1)
#define skip_char(str) ((*str)++)
#define skip_whitespaces(str) while (isspace(**string)) { skip_char(string); }
#define skip_whitespaces(str) while (isspace(**str)) { skip_char(str); }
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define parson_malloc(a) malloc(a)