summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
Diffstat (limited to 'lisc')
-rw-r--r--lisc/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 8cba8db..e858365 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -763,6 +763,7 @@ parsedat(void cb(Dat *))
 			err("data contents must be { .. } or \" .. \"");
 		for (;;) {
 			switch (nextnl()) {
+			default: err("invalid size specifier in data");
 			case TL: d.type = DL; break;
 			case TW: d.type = DW; break;
 			case TH: d.type = DH; break;