diff options
author | Per Bothner <per@bothner.com> | 1997-10-03 23:05:12 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1997-10-03 23:05:12 +0000 |
commit | 8d2755a953cfc95a09b19010aa47d9c998079acf (patch) | |
tree | f5fa6eb95035e87b5ba5b7e8f1375065371c707b /gdb/parse.c | |
parent | a3e8c5b712d92489860090317327dd80d00893a6 (diff) | |
download | gdb-8d2755a953cfc95a09b19010aa47d9c998079acf.zip gdb-8d2755a953cfc95a09b19010aa47d9c998079acf.tar.gz gdb-8d2755a953cfc95a09b19010aa47d9c998079acf.tar.bz2 |
* c-lang.h, cp-valprint.c (static_field_print): Make non-static.
* parse.c, parser-defs.h (length_of_subexp): Make non-static.
* jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary.
(ArrayAccess): Likewise. Also remove warnings.
(CastExpression): Implement (typename) UnaryExpression.
(push_qualified_expression_name): Fix small bug.
* jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names.
(_initialize_jave_language): Fix typo (jave -> java).
(java_language): Java does *not* have C-style arrays.
(java_class_from_object): Make more general (and complicated).
(java_link_class_type): Fix typo "super" -> "class". Handle arrays.
(java_emit_char, java_printchar): New function.
(evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays.
* jv-valprint.c (java_value_print): Implement printing of Java arrays.
(java_print_value_fields): New function.
(java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index e4ff571..7a9410f 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -59,9 +59,6 @@ free_funcalls PARAMS ((void)); static void prefixify_expression PARAMS ((struct expression *)); -static int -length_of_subexp PARAMS ((struct expression *, int)); - static void prefixify_subexp PARAMS ((struct expression *, struct expression *, int, int)); @@ -525,7 +522,7 @@ prefixify_expression (expr) /* Return the number of exp_elements in the subexpression of EXPR whose last exp_element is at index ENDPOS - 1 in EXPR. */ -static int +int length_of_subexp (expr, endpos) register struct expression *expr; register int endpos; |