aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index 019051b..ab51b5b 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -51,10 +51,11 @@ tree_t* parser_parse_expr(parser_t* parser) {
return parser_parse_call(parser);
break;
default:
- die("BAD TOKEN");
+ die("BAD TOKEN"); /* TODO: make more informative error msgs */
}
return NULL; /* unreachable */
+ /* hopefully */
}
tree_t* parser_parse_exprs(parser_t* parser) {