From b9665c7c99b146bd2b56d05926098c403d7920f3 Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 27 Nov 2016 21:08:14 +0100 Subject: [PATCH] Fix some basic showstopping bugs; compilation now works up to failing to find the libb standard library. --- lang/b/compiler/b0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/b/compiler/b0.c b/lang/b/compiler/b0.c index abbeeba32..d0ea69826 100644 --- a/lang/b/compiler/b0.c +++ b/lang/b/compiler/b0.c @@ -97,11 +97,11 @@ main(int argc, char *argv[]) if (string_part) C_insertpart(string_part); - C_exp("bsymb_start"); - C_exp("bsymb_end"); + C_exa_dnam("bsymb_patch_table"); + C_df_dnam("bsymb_patch_table"); if (bsymb_part) C_insertpart(bsymb_part); - C_df_dnam("bsymb_end"); + C_rom_cst(0); C_close(); @@ -735,7 +735,7 @@ pswitch(void) C_con_ilb(swp->swlab); } - C_df_dlb(brklab); + C_df_ilb(brklab); deflab = dl; swp = sswp;