diff options
author | Adrian Thurston <thurston@colm.net> | 2021-10-30 11:08:27 -0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2021-10-30 11:08:27 -0700 |
commit | 572bf9db01143087c7ba143bc3cc1f6cccf7bd20 (patch) | |
tree | b62fd6f58d79ad8001c65ea13d0f5887ca125cc0 | |
parent | 16fc8d7204b7d664e51527dd43f0689c67e98cb5 (diff) | |
download | ragel-arm-host-types.tar.gz |
specify the min/max for char for both signed and unsignedarm-host-types
-rw-r--r-- | src/common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cc b/src/common.cc index 12f37ece..027b945c 100644 --- a/src/common.cc +++ b/src/common.cc @@ -42,7 +42,7 @@ const char *defaultOutFnC( const char *inputFileName ) HostType hostTypesC[] = { - { "char", 0, "char", (CHAR_MIN != 0), true, false, CHAR_MIN, CHAR_MAX, 0, 0, sizeof(char) }, + { "char", 0, "char", (CHAR_MIN != 0), true, false, SCHAR_MIN, SCHAR_MAX, 0, UCHAR_MAX, sizeof(char) }, { "signed", "char", "char", true, true, false, SCHAR_MIN, SCHAR_MAX, 0, 0, sizeof(signed char) }, { "unsigned", "char", "uchar", false, true, false, 0, 0, 0, UCHAR_MAX, sizeof(unsigned char) }, { "short", 0, "short", true, true, false, SHRT_MIN, SHRT_MAX, 0, 0, sizeof(short) }, |