aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/simpleparse.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
commita4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch)
treea4137025b4096749341513f44c12d381ceb636bf /src/stdlib/simpleparse.h
parentecf08ab61fe49101b6c769badf362d21d8699df4 (diff)
Lots of cleanups
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, \