shithub: gefs

Download patch

ref: dddef538cf344c68dbc40e6b3dd7f39be9821779
parent: b604e0abe047f5e64615fb405c1d74376fc1681a
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Nov 7 20:16:33 EST 2023

dump: show tree dump correctly with Onop

--- a/dump.c
+++ b/dump.c
@@ -136,6 +136,7 @@
 		case Oreprev:
 			n = fmtprint(fmt, "gen: %lld, dlbl: %d, dref: %d", UNPACK64(v->v), v->v[8], v->v[9]);
 			break;
+		case Onop:
 		case Oinsert:
 			if(unpacktree(&t, v->v, v->nv) == nil)
 				n = fmtprint(fmt, "corrupt tree");