diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-04 15:10:08 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-04 15:10:08 +0000 |
commit | 560b9c9b0713f5e7019e2bf994be9f488b5df773 (patch) | |
tree | a18934f40a1a5e5d22c71dcc032259e1fa97a37b /fixincludes/fixincl.x | |
parent | fdd350275777f692baefc82c4d7e4e8fcc810e11 (diff) | |
download | gcc-560b9c9b0713f5e7019e2bf994be9f488b5df773.tar.gz |
replace "extern" only if surrounded by space characters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/fixincl.x')
-rw-r--r-- | fixincludes/fixincl.x | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index 795b852d6d7..f97bdb63d85 100644 --- a/fixincludes/fixincl.x +++ b/fixincludes/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Monday January 15, 2007 at 09:38:13 PM CET + * It has been AutoGen-ed Sunday February 4, 2007 at 07:08:33 AM PST * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT SVN-MERGE THIS FILE, EITHER Mo Jan 15 21:38:13 CET 2007 +/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Feb 4 07:08:34 PST 2007 * * You must regenerate it. Use the ./genfixes script. * @@ -2317,14 +2317,21 @@ tSCC zGlibc_C99_Inline_4List[] = #define apzGlibc_C99_Inline_4Machs (const char**)NULL /* + * content selection pattern - do fix if pattern found + */ +tSCC zGlibc_C99_Inline_4Select0[] = + " extern "; + +/* * content bypass pattern - skip fix if pattern found */ tSCC zGlibc_C99_Inline_4Bypass0[] = "__STDC_VERSION__"; -#define GLIBC_C99_INLINE_4_TEST_CT 1 +#define GLIBC_C99_INLINE_4_TEST_CT 2 static tTestDesc aGlibc_C99_Inline_4Tests[] = { - { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL }, }; + { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL }, + { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, }; /* * Fix Command Arguments for Glibc_C99_Inline_4 @@ -2335,7 +2342,6 @@ static const char* apzGlibc_C99_Inline_4Patch[] = { #if __STDC_VERSION__ < 19901L\n\ extern\n\ #endif\n", - "extern", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * @@ -8419,7 +8425,7 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 250 +#define REGEX_COUNT 251 #define MACH_LIST_SIZE_LIMIT 261 #define FIX_COUNT 207 |