From d60e01213aa3bf75131725aedf02a9a52608cbaf Mon Sep 17 00:00:00 2001 From: Andrew Plotkin Date: Sat, 13 May 2023 13:30:58 -0400 Subject: [PATCH] Get the I6 setting for $DICT_CHAR_SIZE=4 in there. --- inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7x | 1 + inform7/extensions/basic_inform/Sections/Preamble.w | 2 ++ 2 files changed, 3 insertions(+) diff --git a/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7x b/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7x index 08349dd67..ae552e2ec 100644 --- a/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7x +++ b/inform7/Internal/Extensions/Graham Nelson/Basic Inform.i7x @@ -112,6 +112,7 @@ Use Inform 6 compiler option "$MAX_SYMBOLS=20000". Use Inform 6 compiler option "$MAX_EXPRESSION_NODES=256". Use Inform 6 compiler option "$MAX_LABELS=200000". Use Inform 6 compiler option "$MAX_LOCAL_VARIABLES=256". +Use Inform 6 compiler option "$DICT_CHAR_SIZE=4". Part Two - Miscellaneous Definitions diff --git a/inform7/extensions/basic_inform/Sections/Preamble.w b/inform7/extensions/basic_inform/Sections/Preamble.w index 8ad8c413b..80433ebe2 100644 --- a/inform7/extensions/basic_inform/Sections/Preamble.w +++ b/inform7/extensions/basic_inform/Sections/Preamble.w @@ -170,6 +170,7 @@ the highest |MAX_VERBS| setting we can safely make here. The |MAX_LOCAL_VARIABLES| setting is suppressed by I7 if we're compiling to the Z-machine, because it's only legal in I6 when compiling to Glulx. +#### DICT_CHAR_SIZE should be suppressed in the same way. Most of these settings are unnecessary (and do nothing) if the version of the I6 compiler eventually used to compile this code is 6.36 or better: in @@ -195,3 +196,4 @@ Use Inform 6 compiler option "$MAX_SYMBOLS=20000". Use Inform 6 compiler option "$MAX_EXPRESSION_NODES=256". Use Inform 6 compiler option "$MAX_LABELS=200000". Use Inform 6 compiler option "$MAX_LOCAL_VARIABLES=256". +Use Inform 6 compiler option "$DICT_CHAR_SIZE=4".