summaryrefslogtreecommitdiff
path: root/gcc/fixinc/inclhack.def
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-12 03:37:33 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-12 03:37:33 +0000
commitfaebe86ad965e90ff270cf1aeb4e93f35421a8f1 (patch)
tree07712bdd0dec8495966332bbdd1522ee74343bb6 /gcc/fixinc/inclhack.def
parent31e488b35ca6ed51f874a72e957c69ad1ae84f95 (diff)
downloadgcc-faebe86ad965e90ff270cf1aeb4e93f35421a8f1.tar.gz
avoid commenting out #endifs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/inclhack.def')
-rw-r--r--gcc/fixinc/inclhack.def6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 1eb953b3a56..73b50fd36a7 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -764,9 +764,8 @@ fix = {
c_fix = format;
c_fix_arg = "#ifndef __cplusplus\n%0\n#endif";
- c_fix_arg = "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;.*";
- test_text = "typedef unsigned int\tbool \t; /* bool type */";
+ test_text = "typedef unsigned int\tbool \t; /* bool\n type */";
};
/*
@@ -781,9 +780,8 @@ fix = {
c_fix = format;
c_fix_arg = "#ifndef __cplusplus\n%0\n#endif";
- c_fix_arg = "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;.*";
- test_text = "typedef unsigned short\twchar_t \t; /* wchar_t type */";
+ test_text = "typedef unsigned short\twchar_t \t; /* wchar_t\n type */";
};
/*