* config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
[deliverable/binutils-gdb.git] / gdb / ada-exp.y
index 73bd120a48f5e8a5a9404b29ae20c4cd1e198745..bb9e41c7c888f79213de7d5dfac25564bdf5a7c6 100644 (file)
@@ -852,7 +852,7 @@ write_object_renaming (struct block *orig_left_context,
          if (end == NULL)
            end = suffix + strlen (suffix);
          field_name.length = end - suffix;
-         field_name.ptr = (char *) malloc (end - suffix + 1);
+         field_name.ptr = xmalloc (end - suffix + 1);
          strncpy (field_name.ptr, suffix, end - suffix);
          field_name.ptr[end - suffix] = '\000';
          suffix = end;
@@ -952,3 +952,13 @@ _initialize_ada_exp (void)
 {
   obstack_init (&temp_parse_space);
 }
+
+/* FIXME: hilfingr/2004-10-05: Hack to remove warning.  The function
+   string_to_operator is supposed to be used for cases where one
+   calls an operator function with prefix notation, as in 
+   "+" (a, b), but at some point, this code seems to have gone
+   missing. */
+
+struct stoken (*dummy_string_to_ada_operator) (struct stoken) 
+     = string_to_operator;
+
This page took 0.023088 seconds and 4 git commands to generate.