Commit 1a3a6aec by Rainer Orth Committed by Rainer Orth

inclhack.def (alpha_assert): Allow for more whitespace in select.

	* inclhack.def (alpha_assert): Allow for more whitespace in
	select.
	* fixincl.x: Regenerate.

From-SVN: r157858
parent d7df0b91
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> 2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/40722 PR target/40722
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
* *
* DO NOT EDIT THIS FILE (fixincl.x) * 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 * From the definitions inclhack.def
* and the template file fixincl * 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. * You must regenerate it. Use the ./genfixes script.
* *
...@@ -1043,7 +1043,7 @@ tSCC zAlpha_AssertList[] = ...@@ -1043,7 +1043,7 @@ tSCC zAlpha_AssertList[] =
* content selection pattern - do fix if pattern found * content selection pattern - do fix if pattern found
*/ */
tSCC zAlpha_AssertSelect0[] = tSCC zAlpha_AssertSelect0[] =
"(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)"; "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
#define ALPHA_ASSERT_TEST_CT 1 #define ALPHA_ASSERT_TEST_CT 1
static tTestDesc aAlpha_AssertTests[] = { static tTestDesc aAlpha_AssertTests[] = {
......
...@@ -607,7 +607,7 @@ fix = { ...@@ -607,7 +607,7 @@ fix = {
fix = { fix = {
hackname = alpha_assert; hackname = alpha_assert;
files = "assert.h"; files = "assert.h";
select = '(#define assert\(EX\).*)\(\(int\) \(EX\)\)'; select = "(#[ \t]*" 'define assert\(EX\).*)\(\(int\) \(EX\)\)';
c_fix = format; c_fix = format;
c_fix_arg = "%1(EX)"; c_fix_arg = "%1(EX)";
test_text = '#define assert(EX) (((int) (EX)) ? (void)0 ' test_text = '#define assert(EX) (((int) (EX)) ? (void)0 '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment