diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-31 18:01:43 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-31 18:01:43 +0000 |
commit | 168de4c5ee54a81e45ead1466e29bb607951fbf9 (patch) | |
tree | 77ca2ed9966a589e7feab77e235e8ba13f56596c /gcc/tlink.c | |
parent | 41be1eb0b0e70addb3d05bb60d40ec34b3957f72 (diff) | |
download | gcc-168de4c5ee54a81e45ead1466e29bb607951fbf9.tar.gz |
* tlink.c (scan_linker_output): Look for symbol name in single
quotes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r-- | gcc/tlink.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c index 5a9b701cf52..53c51dc2ed4 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -1,7 +1,7 @@ /* Scan linker error messages for missing template instantiations and provide them. - Copyright (C) 1995, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007 + Copyright (C) 1995, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. Contributed by Jason Merrill (jason@cygnus.com). @@ -683,6 +683,9 @@ scan_linker_output (const char *fname) /* Then try "double quotes". */ else if (p = strchr (oldq, '"'), p) p++, q = strchr (p, '"'); + /* Then try 'single quotes'. */ + else if (p = strchr (oldq, '\''), p) + p++, q = strchr (p, '\''); else { /* Then try entire line. */ q = strchr (oldq, 0); |