aboutsummaryrefslogtreecommitdiff
path: root/compiler.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-15 13:05:37 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-15 13:05:37 -0800
commitef345797e2c8b6086af979ee4414a29abba16164 (patch)
treefef0d4efe904f599d8e86ecf617be883f6ef4820 /compiler.c
parentb01f9973f47e7e823cdde66afe9f6e8a8c0c6137 (diff)
Removed unnecessary check
Diffstat (limited to 'compiler.c')
-rw-r--r--compiler.c1
1 files changed, 0 insertions, 1 deletions
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)