Improve shell completion and Bob64 text readability

This commit is contained in:
Alvin-Zilverstand committed 2026-10-13 23:26:00 +02:00
1 parent 57787bfc7f
commit 412000b481
14 files changed
+2383 -1249

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ static int decay_type(int type);
static int global_address(Node *n,const char **name,int *offset);
static void binary_typed(int op,int left,int right);
static Node *top, **top_tail=⊤
static uint32_t code[65536];
static uint32_t code[131072];
static int ncode, legacy, wide, serial, return_label;
static uint32_t origin=0x300;
static int wide_app;
@@ -748,7 +748,7 @@ static void parse(void) {
}
parsing_types=0;
}
static void emit(int value) { if(ncode>=65536)error("code too large");code[ncode++]=(uint32_t)value; }
static void emit(int value) { if(ncode>=131072)error("code too large");code[ncode++]=(uint32_t)value; }
static void emit_relocation(const char *name,int offset) {
if(ncode>=65536 || nfixups>=65536)error("code/relocation limit exceeded");
fixups[nfixups++]=(Fixup){ncode,copy(name),offset};emit(0);