Increase the number of items in a char set from 128 to 256, to cover all
authorDavid Given <dg@cowlark.com>
Sun, 15 Jan 2017 21:30:25 +0000 (22:30 +0100)
committerDavid Given <dg@cowlark.com>
Sun, 15 Jan 2017 21:30:25 +0000 (22:30 +0100)
possible bytes (7-bit bytes are so 70s).

lang/pc/comp/type.c

index faca8fe..d13419c 100644 (file)
@@ -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);