diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2021-10-04 14:11:29 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2021-10-04 14:11:29 +0100 |
commit | 14e929a7596baa7ee9da401975c521aa0e93c3b4 (patch) | |
tree | 90459c8dd3b5756d2da409e8dbfdd19420e7e882 /cudl.h | |
parent | d973b4b8eaaa5e7f1d10f9f02069c6d7bde25dcc (diff) | |
download | cudl-14e929a7596baa7ee9da401975c521aa0e93c3b4.tar |
Add string and map parsing. Currently no support for the schema variants of the syntax for these types
Diffstat (limited to 'cudl.h')
-rw-r--r-- | cudl.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -31,16 +31,24 @@ enum { CUDL_TAG_NULL, CUDL_TAG_BOOL, CUDL_TAG_ARRAY, + CUDL_TAG_MAP, + CUDL_TAG_STRING, }; enum { CUDL_OK = 0, CUDL_ERR_OUT_OF_MEMORY, - CUDL_ERR_EXPECTED_VALUE, CUDL_ERR_READING, + CUDL_ERR_EXPECTED_VALUE, CUDL_ERR_EXPECTED_BOOL_OR_NULL, + CUDL_ERR_EXPECTED_ESCAPE_SEQUENCE, + CUDL_ERR_EXPECTED_MAP_KEY, + CUDL_ERR_EXPECTED_COLON, CUDL_ERR_UNMATCHED_BRACK, + CUDL_ERR_UNMATCHED_BRACE, + CUDL_ERR_UNMATCHED_QUOTE, CUDL_ERR_UNRECOGNISED_VALUE, + CUDL_ERR_UNRECOGNISED_UNICODE, }; extern int cudl_err; |