@@ -270,9 +270,12 @@ static inline str gap(const char* ref, const char* start, const char* end)
270270 d->nodes.nodes[d->nodes.used_front].outer = gap(d->body, tag_start, p); \
271271 printf("TagOpenClose %s\n", p)
272272
273+// Given the parsed string, return either NULL (success) or an error message (failure)
273274static const char* parser(const char* p, document* d)
274275{
275− const char *tag_start, *name_start, *name_end, *quote_start, *quote_end;
276+ const char *tag_start; // Where the entire tag starts [<foo
277+ const char *name_start, *name_end; // Where a name is <[foo] or <foo [bar]=
278+ const char *quote_start, *quote_end; // Where an attribute quote is <foo bar='[123]'>
276279# include "test.h"
277280 return NULL;
278281}