From a97cf48486226d538797ef721c62a80b9327c43f Mon Sep 17 00:00:00 2001 From: Mightyjo Date: Fri, 27 Nov 2015 21:38:23 -0500 Subject: Replaced CHAR macro with unsigned char type. Thanks to Michael McConville for pointing out that the old Char macro causes problems with static analysis. The macro has been removed and replaced with 'unsigned char' throughout the flex sources. The macro is not needed at best and was confusing at worst. It was not used in any of the example files nor was it mentioned in the manual at all. --- src/ecs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ecs.c') diff --git a/src/ecs.c b/src/ecs.c index 9250fe3..b2afc1f 100644 --- a/src/ecs.c +++ b/src/ecs.c @@ -99,9 +99,9 @@ int cre8ecs (int fwd[], int bck[], int num) /* mkeccl - update equivalence classes based on character class xtions * * synopsis - * Char ccls[]; + * unsigned char ccls[]; * int lenccl, fwd[llsiz], bck[llsiz], llsiz, NUL_mapping; - * void mkeccl( Char ccls[], int lenccl, int fwd[llsiz], int bck[llsiz], + * void mkeccl( unsigned char ccls[], int lenccl, int fwd[llsiz], int bck[llsiz], * int llsiz, int NUL_mapping ); * * ccls contains the elements of the character class, lenccl is the @@ -111,7 +111,7 @@ int cre8ecs (int fwd[], int bck[], int num) * NUL_mapping is the value which NUL (0) should be mapped to. */ -void mkeccl (Char ccls[], int lenccl, int fwd[], int bck[], int llsiz, int NUL_mapping) +void mkeccl (unsigned char ccls[], int lenccl, int fwd[], int bck[], int llsiz, int NUL_mapping) { int cclp, oldec, newec; int cclm, i, j; -- cgit v1.2.3