aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors-over-42023-07-09 23:49:32 -0400
committers-over-42023-07-09 23:49:32 -0400
commit979bf65d49a8d362be8ba370dc453362dca158cd (patch)
treed69503f04f0d2c05f1cbae0459f4277891efdcee
parentc1879090e4394c9245da1249f4ea6e7ff0b04601 (diff)
some things with the parser I neeed to do later (moth is still there)
-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) {