arg, it is a value not a symbol.
gcc -Wall lint:
* eval.c: Move declaration of evaluate_subexp_with_coercion from here..
* expression.h: ..to here.
* expression.h: Include value.h.
* ch-lang.c (evaluate_subexp_chill): Add default case in switch.
+Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
+ arg, it is a value not a symbol.
+
+ gcc -Wall lint:
+ * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
+ * expression.h: ..to here.
+ * expression.h: Include value.h.
+ * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
+
Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
* language.h (struct language_defn): New field evaluate_exp.
argvec[tem] = 0; /* signal end of arglist */
return call_function_by_hand (argvec[0], nargs, argvec + 1);
+ default:
+ break;
}
while (nargs-- > 0)
arg1 = value_subscript (arg1, index);
}
return (arg1);
+ default:
+ break;
}
return evaluate_subexp_standard (expect_type, exp, pos, noside);
#if !defined (EXPRESSION_H)
#define EXPRESSION_H 1
+#include "value.h"
+
#ifdef __STDC__
struct block; /* Forward declaration for prototypes */
#endif
extern struct value* evaluate_subexp_standard
PARAMS ((struct type *, struct expression *, int*, enum noside));
+extern value_ptr evaluate_subexp_with_coercion PARAMS ((struct expression *,
+ int *, enum noside));
+
/* From expprint.c */
extern void print_expression PARAMS ((struct expression *, GDB_FILE *));