diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-31 18:01:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2008-03-31 18:01:43 +0000 |
commit | 2d4bba805eeeea81ee9e566e569528de83876e08 (patch) | |
tree | 77ca2ed9966a589e7feab77e235e8ba13f56596c /gcc/tlink.c | |
parent | 8935c4b3476e3b8c17f0c8bcd97811a470851a2a (diff) | |
download | gcc-2d4bba805eeeea81ee9e566e569528de83876e08.zip gcc-2d4bba805eeeea81ee9e566e569528de83876e08.tar.gz gcc-2d4bba805eeeea81ee9e566e569528de83876e08.tar.bz2 |
tlink.c (scan_linker_output): Look for symbol name in single quotes.
* tlink.c (scan_linker_output): Look for symbol name in single
quotes.
From-SVN: r133764
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 5a9b701..53c51dc 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); |