apparently i had a moment of dyslexia
@@ -296,7 +296,7 @@ Returns:
*/
to_cstring :: proc(b: ^Builder) -> (res: cstring) {
append(&b.buf, 0)
- defer pop(&p.buf)
+ defer pop(&b.buf)
return cstring(raw_data(b.buf))
}
/*