ref: 8415ce3ed0562384a197cea430968bc8f414987c
parent: ebb5aab6dbf82e07493386bed59ff48cbef3ae37
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Fri Feb 12 10:24:26 EST 2021
Correct the keywordDict size The stale keywords XDEF and GLOBAL were removed, so there can be fewer keyword nodes.
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -496,7 +496,7 @@
uint16_t children[0x60 - ' '];
struct KeywordMapping const *keyword;
/* Since the keyword structure is invariant, the min number of nodes is known at compile time */
-} keywordDict[359] = {0}; /* Make sure to keep this correct when adding keywords! */
+} keywordDict[350] = {0}; /* Make sure to keep this correct when adding keywords! */
/* Convert a char into its index into the dict */
static inline uint8_t dictIndex(char c)