commit c267f1639f7639afee0f5799b00ddf5dfee1cbe2
parent 48e097d6e3695483c839b9d7b94b2f7373616ac5
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 20 Dec 2020 15:53:46 -0500
Remove EXPR_FUNC
What was that supposed to be?
Diffstat:
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/expr.h b/include/expr.h
@@ -16,7 +16,6 @@ enum expr_type {
EXPR_CONTINUE,
EXPR_FOR,
EXPR_FREE,
- EXPR_FUNC,
EXPR_IF,
EXPR_INDEX,
EXPR_LIST,
diff --git a/src/check.c b/src/check.c
@@ -151,7 +151,6 @@ check_expression(struct context *ctx,
case EXPR_CONTINUE:
case EXPR_FOR:
case EXPR_FREE:
- case EXPR_FUNC:
case EXPR_IF:
case EXPR_INDEX:
assert(0); // TODO
diff --git a/src/gen.c b/src/gen.c
@@ -182,7 +182,6 @@ gen_expression(struct gen_context *ctx,
case EXPR_CONTINUE:
case EXPR_FOR:
case EXPR_FREE:
- case EXPR_FUNC:
case EXPR_IF:
case EXPR_INDEX:
assert(0); // TODO