From 5ff983ad9b4b6f01417e7d7df6492595d7b3174c Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 15 Jan 2017 22:30:25 +0100 Subject: [PATCH] Increase the number of items in a char set from 128 to 256, to cover all possible bytes (7-bit bytes are so 70s). --- lang/pc/comp/type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/pc/comp/type.c b/lang/pc/comp/type.c index faca8fee5..d13419cf4 100644 --- a/lang/pc/comp/type.c +++ b/lang/pc/comp/type.c @@ -94,8 +94,8 @@ InitTypes() /* character type */ char_type = standard_type(T_CHAR, 1, (arith) 1); - char_type->enm_ncst = 128; /* only 7 bits ASCII characters */ - + char_type->enm_ncst = 256; /* all bytes */ + /* boolean type */ bool_type = standard_type(T_ENUMERATION, 1, (arith) 1); -- 2.34.1