on master help sign in
Remove debugging render stuff
c1ef756Neil Mitchell
gen/test.c−2
@@ -93,10 +93,8 @@ static inline void bound_str(str s, int mn, int mx)
93static void render_str(render* r, str s)
93static void render_str(render* r, str s)
94{
94{
95 bound_str(s, 0, r->d->body_len);
95 bound_str(s, 0, r->d->body_len);
96− render_char(r, '[');
97 for (int i = 0; i < s.length; i++)
96 for (int i = 0; i < s.length; i++)
98 render_char(r, r->d->body[s.start + i]);
97 render_char(r, r->d->body[s.start + i]);
99− render_char(r, ']');
100}
98}
101
99
102static void render_tag(render* r, const node* n);
100static void render_tag(render* r, const node* n);