diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-30 16:12:51 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-30 16:12:51 -0500 |
commit | 839dca331a339d8beec727a6ffd0740ad4f5e13a (patch) | |
tree | 49c0e242e6b05ea9f20d254b5bf5ef42f8ca800f /lisc | |
parent | 67db7b6578b855d8ee7e6c5ba67a3dd7020fd17e (diff) | |
download | roux-839dca331a339d8beec727a6ffd0740ad4f5e13a.tar.gz |
more error reporting in parsedat()
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/parse.c | 1 |
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; |