Use runtime asserts instead of error returns in desugar.c

The error paths are not tested and are mostly for NULL allocations so
it makes more sense to use runtime asserts for now for simplicity's
sake.
This commit is contained in:
2024-10-27 02:07:59 +00:00
parent eb22abfb1b
commit 721d0a2b49
3 changed files with 38 additions and 70 deletions

View File

@@ -8,6 +8,6 @@
#include "regex.h"
bool desugar_regex(regex_t *regex);
void desugar_regex(regex_t *regex);
#endif