diff options
author | Per Bothner <per@bothner.com> | 1995-02-12 19:21:04 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1995-02-12 19:21:04 +0000 |
commit | 7398958c7d7356235a818cca7da57d9377ee0556 (patch) | |
tree | c024f941aea7b6d4eb7ae6ca15fa7403aa3c4edc /gdb/f-lang.c | |
parent | 60438e8e3e963c5d06ffb85d30ec74d680b06f24 (diff) | |
download | gdb-7398958c7d7356235a818cca7da57d9377ee0556.zip gdb-7398958c7d7356235a818cca7da57d9377ee0556.tar.gz gdb-7398958c7d7356235a818cca7da57d9377ee0556.tar.bz2 |
* language.h (struct language_defn): New field evaluate_exp.
* c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
f-lang.c (f_language_defn), language.c (unknown_language_defn,
auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
Set evaluate_exp to evaluate_subexp_standard.
* ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
support for MULTI_SUBSCRIPT.
(chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
* eval.c (enum noside): Move from here ....
* expression.h (enum noside): ... to here.
(evaluate_subexp_standard): New prototype.
* eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
Removed lo-longer-needed test for chill_varying_type.
(evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r-- | gdb/f-lang.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c index 7ccae4f..b296a20 100644 --- a/gdb/f-lang.c +++ b/gdb/f-lang.c @@ -423,6 +423,7 @@ const struct language_defn f_language_defn = { type_check_on, f_parse, /* parser */ f_error, /* parser error function */ + evaluate_subexp_standard, f_printchar, /* Print character constant */ f_printstr, /* function to print string constant */ f_create_fundamental_type, /* Create fundamental type in this language */ |