aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <ddsinc09@ix.netcom.com>1999-06-09 06:58:09 +0000
committerBruce Korb <korbb@gcc.gnu.org>1999-06-09 06:58:09 +0000
commitdedfdcb2c93281033321aceaebb7e8f225b8e61f (patch)
tree9dde5d027b9c7170c5ab044a055ca2fe144294e1
parent282a61e6620915e88b1320f9cbf84d5cc617e2c7 (diff)
downloadgcc-dedfdcb2c93281033321aceaebb7e8f225b8e61f.zip
gcc-dedfdcb2c93281033321aceaebb7e8f225b8e61f.tar.gz
gcc-dedfdcb2c93281033321aceaebb7e8f225b8e61f.tar.bz2
improve bypass re for sun_auth_proto
From-SVN: r27447
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fixinc/inclhack.def3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64b99d6..db91243 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
+
+ *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
+ the typed arguments are not part of a comment
+
Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* invoke.texi: Add C4x invocation docs.
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 93f620f..bbdd401 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1512,7 +1512,8 @@ fix = {
* but there is no point bothering if the fix is not needed.
*/
select = '\(\*[a-z][a-z_]*\)\(\)';
- bypass = '\(\*[a-z][a-z_]*\)\(' "[ \t]*[a-zA-Z.].*" '\)';
+ bypass = "^[a-zA-Z0-9_ \t]*" '\(\*[a-z][a-z_]*\)\('
+ "[ \t]*[a-zA-Z.].*" '\)';
sed = 's'
'/^\(.*(\*[a-z][a-z_]*)(\)' '\();.*\)'
"/\\\n"