Fix miscounted initializer.

This commit is contained in:
Brad Nelson
2022-07-10 18:55:21 -07:00
parent a08dd72d14
commit 9a2555d884
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ static cell_t *forth_run(cell_t *init_rp) {
EXTRA_OPCODE_LIST EXTRA_OPCODE_LIST
OPCODE_LIST OPCODE_LIST
#undef XV #undef XV
0, 0, 0, 0, 0, 0, 0, 0,
}; };
if (!init_rp) { if (!init_rp) {

View File

@ -71,7 +71,7 @@ typedef struct {
uint8_t flags, name_length; uint8_t flags, name_length;
uint16_t vocabulary; uint16_t vocabulary;
}; };
cell_t multi; cell_t multi; // Forces cell alignment throughout.
}; };
const void *code; const void *code;
} BUILTIN_WORD; } BUILTIN_WORD;