aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/simpleparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/simpleparse.h')
-rw-r--r--src/stdlib/simpleparse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/simpleparse.h b/src/stdlib/simpleparse.h
index 86a96ce8..da077e20 100644
--- a/src/stdlib/simpleparse.h
+++ b/src/stdlib/simpleparse.h
@@ -32,6 +32,7 @@ typedef struct { parse_type_e type; void *dest; } parse_element_t;
#define _parse_type(dest) _Generic((dest), \
some_char_t*: PARSE_SOME_OF, \
const char*: PARSE_LITERAL, \
+ char*: PARSE_LITERAL, \
const char**: PARSE_STRING, \
char**: PARSE_STRING, \
double*: PARSE_DOUBLE, \