diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-31 02:10:12 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-31 02:10:12 +0000 |
commit | 209c9752c4626d6a6f46bed656e7ba071206a4d9 (patch) | |
tree | db4116bd3ccfb5c043412bc6f6fbd74c9d552967 /gcc/testsuite/gcc.dg/20040910-1.c | |
parent | d6583a5ff1599ea0f0808355f6ab375b5877f5d0 (diff) | |
download | gcc-209c9752c4626d6a6f46bed656e7ba071206a4d9.tar.gz |
* c-common.c (catenate_strings): New.
(c_parse_error): Use it. Don't over-escape.
testsuite/
* gcc.dg/20040910-1.c: Adjust regex.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89910 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20040910-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20040910-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/20040910-1.c b/gcc/testsuite/gcc.dg/20040910-1.c index 25b51ff7e1b..10f5fb32662 100644 --- a/gcc/testsuite/gcc.dg/20040910-1.c +++ b/gcc/testsuite/gcc.dg/20040910-1.c @@ -1,2 +1,2 @@ /* Tests error recovery for invalid code. */ -__attribute__((foo) int f (){} /* { dg-error "(parse|syntax) error before \"int\"" } */ +__attribute__((foo) int f (){} /* { dg-error "(parse|syntax) error before 'int'" } */ |