summaryrefslogtreecommitdiff
path: root/gcc/c-ppoutput.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-10-08 18:37:07 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-10-08 11:37:07 -0700
commit147887759d18574c81ebe4891657c451df3d214c (patch)
tree1cecec6e67cea476e0df2135c569be341d37790e /gcc/c-ppoutput.c
parent6048b706dc5d670e378a5f9bec5de4f197c202db (diff)
downloadgcc-147887759d18574c81ebe4891657c451df3d214c.tar.gz
re PR c/16999 (#ident stopped working)
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR c/16999 * c-ppoutput.c (cb_ident): Don't quote string as it is already quoted. * gcc.dg/cpp/ident-1.c: New test. From-SVN: r88773
Diffstat (limited to 'gcc/c-ppoutput.c')
-rw-r--r--gcc/c-ppoutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c
index 95563995e7c..64b27a75f62 100644
--- a/gcc/c-ppoutput.c
+++ b/gcc/c-ppoutput.c
@@ -304,7 +304,7 @@ cb_ident (cpp_reader *pfile ATTRIBUTE_UNUSED, source_location line,
const cpp_string *str)
{
maybe_print_line (line);
- fprintf (print.outf, "#ident \"%s\"\n", str->text);
+ fprintf (print.outf, "#ident %s\n", str->text);
print.src_line++;
}