]> Git Repo - binutils.git/blobdiff - gdb/jv-lang.c
* parser-defs.h (struct exp_descriptor): New definition, containing
[binutils.git] / gdb / jv-lang.c
index e9b86d20c4997a938c9adf0897451b5d1ee3afce..0913aceb8ac7f3e12ba1a356a1f036bcd5511309 100644 (file)
@@ -1030,6 +1030,15 @@ const struct op_print java_op_print_tab[] =
   {NULL, 0, 0, 0}
 };
 
+const struct exp_descriptor exp_descriptor_java = 
+{
+  print_subexp_standard,
+  operator_length_standard,
+  op_name_standard,
+  dump_subexp_body_standard,
+  evaluate_subexp_java
+};
+
 const struct language_defn java_language_defn =
 {
   "java",                      /* Language name */
@@ -1038,9 +1047,9 @@ const struct language_defn java_language_defn =
   range_check_off,
   type_check_off,
   case_sensitive_on,
+  &exp_descriptor_java,
   java_parse,
   java_error,
-  evaluate_subexp_java,
   c_printchar,                 /* Print a character constant */
   c_printstr,                  /* Function to print string constant */
   java_emit_char,              /* Function to print a single character */
This page took 0.024799 seconds and 4 git commands to generate.