diff options
author | Quinn Stephens <quinn@osmora.org> | 2024-11-02 09:55:58 -0400 |
---|---|---|
committer | Quinn Stephens <quinn@osmora.org> | 2024-11-02 09:55:58 -0400 |
commit | 2cb992bfd4fea07fcdb3df1b9ffe1e11d34c70f3 (patch) | |
tree | b6a9c13b291c09151ee87e2b2dbac979c6254de3 /include | |
parent | fc26be4293b03cac62d6db7bb597d0c8cf1d5b3a (diff) |
[parser] Improve error handling
parse_enum() and parse_struct() now free all allocated memory in case of
an error. They also no longer allow the type to be registered if an
error occurs.
parse_type() no longer allows/requires semicolons after enum/struct
definitions.
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions