forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -20,6 +20,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#if !defined (EXPRESSION_H)
|
||||
#define EXPRESSION_H 1
|
||||
|
||||
#include "value.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
struct block; /* Forward declaration for prototypes */
|
||||
#endif
|
||||
@@ -352,6 +354,9 @@ enum noside
|
||||
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 *));
|
||||
|
||||
Reference in New Issue
Block a user