Added a few TODOs

This commit is contained in:
Dan Hirsch 2012-06-02 04:16:04 +02:00
parent 6d755efbde
commit ec7e9f2016
2 changed files with 2 additions and 1 deletions

2
NOTES
View file

@ -35,4 +35,4 @@ what the comments say.
TODO: implement datastructure linearization func
TODO: implement free func for parsers
TODO: Reimplement GSequence et al for use with arena allocator. (*&%$#@ Glib doesn't allow per-datastructure allocators)
TODO: Remove glib dependency (i.e., GQueue and GHashtable)

View file

@ -44,6 +44,7 @@ static HCachedResult *cached_result(const HParseState *state, HParseResult *resu
// Really library-internal tool to perform an uncached parse, and handle any common error-handling.
static inline HParseResult* perform_lowlevel_parse(HParseState *state, const HParser *parser) {
// TODO(thequux): these nested conditions are ugly. Factor this appropriately, so that it is clear which codes is executed when.
HParseResult *tmp_res;
if (parser) {
HInputStream bak = state->input_stream;