diff options
Diffstat (limited to 'gcc/fixinc/fixincl.x')
-rw-r--r-- | gcc/fixinc/fixincl.x | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 884f1e8..74f13be 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Wednesday July 9, 2003 at 04:58:23 PM EDT + * It has been AutoGen-ed Wednesday July 9, 2003 at 05:06:05 PM EDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT CVS-MERGE THIS FILE, EITHER Wed Jul 9 16:58:23 EDT 2003 +/* DO NOT CVS-MERGE THIS FILE, EITHER Wed Jul 9 17:06:05 EDT 2003 * * You must regenerate it. Use the ./genfixes script. * @@ -2830,14 +2830,21 @@ tSCC zLimits_IfndefsList[] = #define apzLimits_IfndefsMachs (const char**)NULL /* + * content selection pattern - do fix if pattern found + */ +tSCC zLimits_IfndefsSelect0[] = + "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*"; + +/* * content bypass pattern - skip fix if pattern found */ tSCC zLimits_IfndefsBypass0[] = "ifndef[ \t]+FLT_(MIN|MAX)"; -#define LIMITS_IFNDEFS_TEST_CT 1 +#define LIMITS_IFNDEFS_TEST_CT 2 static tTestDesc aLimits_IfndefsTests[] = { - { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, }; + { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, + { TT_EGREP, zLimits_IfndefsSelect0, (regex_t*)NULL }, }; /* * Fix Command Arguments for Limits_Ifndefs @@ -2847,7 +2854,6 @@ static const char* apzLimits_IfndefsPatch[] = { "#ifndef %1\n\ %0\n\ #endif", - "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * @@ -6100,7 +6106,7 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 171 +#define REGEX_COUNT 172 #define MACH_LIST_SIZE_LIMIT 261 #define FIX_COUNT 154 |