* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
[deliverable/binutils-gdb.git] / gdb / cp-name-parser.y
index 90f0a711d96d69f82e2c6a31dfd4595174a902bd..0916e866c3dbf94443112949979b209e89127629 100644 (file)
@@ -1,7 +1,6 @@
 /* YACC parser for C++ names, for GDB.
 
-   Copyright 2003, 2004, 2005
-   Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
 
    Parts of the lexer are based on c-exp.y from GDB.
 
@@ -19,7 +18,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.  */
 
 /* Note that malloc's and realloc's in this file are transformed to
    xmalloc and xrealloc respectively by the same sed command in the
@@ -1440,7 +1440,7 @@ c_parse_backslash (int host_char, int *target_char)
 static int
 parse_escape (const char **string_ptr)
 {
-  int target_char = 0;
+  int target_char;
   int c = *(*string_ptr)++;
   if (c_parse_backslash (c, &target_char))
     return target_char;
@@ -1498,7 +1498,7 @@ parse_escape (const char **string_ptr)
          return i;
        }
       default:
-       return target_char;
+       return c;
       }
 }
 
This page took 0.024595 seconds and 4 git commands to generate.