commit 087e2a38dc6478b077b708355d6456d16e77b843 parent 402565a2165c13180e92a827c529699d2428677c Author: sin <sin@2f30.org> Date: Wed, 14 May 2014 17:33:43 +0100 Scream for unhandled tokens Diffstat:
M | parser.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/parser.c b/parser.c @@ -177,6 +177,9 @@ sexpression(FILE *in) return character(&t); case TString: return string(&t); + default: + fprintf(stderr, "unhandled token type: %d\n", t.type); + break; } return NULL; }