mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* eval.c (ptrmath_type_p): Add 'lang' argument.
(evaluate_subexp_standard): Update. (evaluate_subexp_with_coercion): Update. * language.h (CAST_IS_CONVERSION): Add 'LANG' argument.
This commit is contained in:
@ -381,9 +381,9 @@ struct type *language_lookup_primitive_type_by_name (const struct language_defn
|
||||
|
||||
/* "cast" really means conversion */
|
||||
/* FIXME -- should be a setting in language_defn */
|
||||
#define CAST_IS_CONVERSION (current_language->la_language == language_c || \
|
||||
current_language->la_language == language_cplus || \
|
||||
current_language->la_language == language_objc)
|
||||
#define CAST_IS_CONVERSION(LANG) ((LANG)->la_language == language_c || \
|
||||
(LANG)->la_language == language_cplus || \
|
||||
(LANG)->la_language == language_objc)
|
||||
|
||||
extern void language_info (int);
|
||||
|
||||
|
Reference in New Issue
Block a user