From 8415ce3ed0562384a197cea430968bc8f414987c Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 12 Feb 2021 15:24:26 -0500 Subject: [PATCH] Correct the keywordDict size The stale keywords XDEF and GLOBAL were removed, so there can be fewer keyword nodes. --- src/asm/lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/lexer.c b/src/asm/lexer.c index 221d2d02..45a44a03 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -496,7 +496,7 @@ struct KeywordDictNode { 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)