From 839dca331a339d8beec727a6ffd0740ad4f5e13a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 30 Nov 2015 16:12:51 -0500 Subject: more error reporting in parsedat() --- lisc/parse.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit 1.4.1