]> gcc.gnu.org Git - gcc.git/commitdiff
inclhack.def (alpha_assert): Allow for more whitespace in select.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 31 Mar 2010 09:26:05 +0000 (09:26 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 31 Mar 2010 09:26:05 +0000 (09:26 +0000)
* inclhack.def (alpha_assert): Allow for more whitespace in
select.
* fixincl.x: Regenerate.

From-SVN: r157858

fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def

index edcca8af2772732ee250e3853107b53150c2a247..84a2b19f4a345409503bca39eb256d4c06803750 100644 (file)
@@ -1,3 +1,9 @@
+2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * inclhack.def (alpha_assert): Allow for more whitespace in
+       select.
+       * fixincl.x: Regenerate.
+
 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/40722
index 395b6b49124cc91470127962ceafa1fe0d8bae10..d66766cea2eb868d0603e77491a40f9b9d019f5d 100644 (file)
@@ -2,11 +2,11 @@
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
- * It has been AutoGen-ed  Wednesday March 24, 2010 at 02:21:16 PM PDT
+ * It has been AutoGen-ed  Tuesday March 30, 2010 at 09:51:20 PM MEST
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Mar 24 14:21:16 PDT 2010
+/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Mar 30 21:51:20 MEST 2010
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -1043,7 +1043,7 @@ tSCC zAlpha_AssertList[] =
  *  content selection pattern - do fix if pattern found
  */
 tSCC zAlpha_AssertSelect0[] =
-       "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
+       "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
 
 #define    ALPHA_ASSERT_TEST_CT  1
 static tTestDesc aAlpha_AssertTests[] = {
index 27ed40934be31a9857f3ffe3f6b2b6963085923b..910b3889270a01159d65cc925820b7e51b40bff3 100644 (file)
@@ -607,7 +607,7 @@ fix = {
 fix = {
     hackname  = alpha_assert;
     files     = "assert.h";
-    select    = '(#define assert\(EX\).*)\(\(int\) \(EX\)\)';
+    select    = "(#[ \t]*" 'define assert\(EX\).*)\(\(int\) \(EX\)\)';
     c_fix     = format;
     c_fix_arg = "%1(EX)";
     test_text = '#define assert(EX) (((int) (EX)) ? (void)0 '
This page took 0.072511 seconds and 5 git commands to generate.