From ef345797e2c8b6086af979ee4414a29abba16164 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 13:05:37 -0800 Subject: Removed unnecessary check --- compiler.c | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler.c') diff --git a/compiler.c b/compiler.c index 8e782cc..2353079 100644 --- a/compiler.c +++ b/compiler.c @@ -140,7 +140,6 @@ static vm_op_t *chain_together(file_t *f, vm_op_t *first, vm_op_t *second) { if (first == NULL) return second; if (second == NULL) return first; - check(first->type != VM_CHAIN, "A chain should not be the first item in a chain."); vm_op_t *chain = new_op(f, first->start, VM_CHAIN); chain->start = first->start; if (first->len >= 0 && second->len >= 0) -- cgit v1.2.3