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:
parent
9dfee46821
commit
7ee068b7a6
2
parson.c
2
parson.c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user