diff options
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index 4c26e69..50b565b 100644 --- a/src/build.c +++ b/src/build.c @@ -26,12 +26,12 @@ static void rec_write_bblc(struct tree *tree, FILE *file, char *byte, int *bit) switch (tree->type) { case ABS: write_bit(0, file, byte, bit); + write_bit(1, file, byte, bit); write_bit(0, file, byte, bit); rec_write_bblc(tree->u.abs.term, file, byte, bit); break; case APP: write_bit(0, file, byte, bit); - write_bit(1, file, byte, bit); write_bit(0, file, byte, bit); rec_write_bblc(tree->u.app.lhs, file, byte, bit); rec_write_bblc(tree->u.app.rhs, file, byte, bit); |