summary refs log tree commit diff
path: root/lisc/emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/emit.c')
-rw-r--r--lisc/emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/emit.c b/lisc/emit.c
index 180f468..f99cbdb 100644
--- a/lisc/emit.c
+++ b/lisc/emit.c
@@ -559,6 +559,8 @@ emitdat(Dat *d, FILE *f)
 		}
 		/* fallthrough */
 	default:
+		if (d->isstr)
+			err("strings only supported for 'b' currently");
 		if (d->isref)
 			fprintf(f, "%s %s+%"PRId64"\n", dtoa[d->type], d->u.ref.nam, d->u.ref.off);
 		else