Add basic support for AArch64.
[deliverable/binutils-gdb.git] / gdb / c-exp.y
index fe5ddf8700fe75f7d5d91971085d0ec1cf75dbfd..376c5743d552255cd8d2e305dff499cbae4d2993 100644 (file)
@@ -1,6 +1,5 @@
 /* YACC parser for C expressions, for GDB.
-   Copyright (C) 1986, 1989-2000, 2003-2004, 2006-2012 Free Software
-   Foundation, Inc.
+   Copyright (C) 1986-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -924,7 +923,7 @@ qualified_name:     TYPENAME COLONCOLON name
                              && TYPE_CODE (type) != TYPE_CODE_UNION
                              && TYPE_CODE (type) != TYPE_CODE_NAMESPACE)
                            error (_("`%s' is not defined as an aggregate type."),
-                                  TYPE_NAME (type));
+                                  TYPE_SAFE_NAME (type));
 
                          write_exp_elt_opcode (OP_SCOPE);
                          write_exp_elt_type (type);
@@ -940,7 +939,7 @@ qualified_name:     TYPENAME COLONCOLON name
                              && TYPE_CODE (type) != TYPE_CODE_UNION
                              && TYPE_CODE (type) != TYPE_CODE_NAMESPACE)
                            error (_("`%s' is not defined as an aggregate type."),
-                                  TYPE_NAME (type));
+                                  TYPE_SAFE_NAME (type));
 
                          tmp_token.ptr = (char*) alloca ($4.length + 2);
                          tmp_token.length = $4.length + 1;
@@ -960,7 +959,7 @@ qualified_name:     TYPENAME COLONCOLON name
                          char *copy = copy_name ($3);
                          error (_("No type \"%s\" within class "
                                   "or namespace \"%s\"."),
-                                copy, TYPE_NAME ($1.type));
+                                copy, TYPE_SAFE_NAME ($1.type));
                        }
        ;
 
@@ -2866,7 +2865,7 @@ classify_name (const struct block *block)
 static int
 classify_inner_name (const struct block *block, int first_name)
 {
-  struct type *type, *new_type;
+  struct type *type;
   char *copy;
 
   if (first_name)
This page took 0.02512 seconds and 4 git commands to generate.