diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-04-10 22:10:01 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-04-10 22:10:01 +0000 |
commit | d9b03db5df309b4c02d13432e64c255d3523243e (patch) | |
tree | 7ef4b437df1c2f181045fbfe63d7254e2c20627a /gdb/m2-lang.c | |
parent | fdc9bd65c50c8d88c67e5a66d6da53f83886ce30 (diff) | |
download | gdb-d9b03db5df309b4c02d13432e64c255d3523243e.tar.gz |
* language.h (language_defn): Add new la_post_parser field.
* parser-defs.h (null_post_parser): New declaration (default for
la_post_parser).
* parse.c (parse_exp_1): Move code to parse_exp_in_context and
insert call to that function.
(parse_exp_in_context): New function, including code formerly in
parse_exp_1. Calls language-dependent post-parser after
prefixification.
(parse_expression_in_context): New exported function.
(null_post_parser): New definition.
* expression.h (parse_expression_in_context): Add declaration.
* p-lang.c (pascal_language_defn): Add trivial post-parser.
* c-lang.c (c_language_defn): Ditto.
(cplus_language_defn): Ditto.
(asm_language_defn): Ditto.
(minimal_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* language.c (unknown_language_defn): Ditto.
(auto_language_defn): Ditto.
(local_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
* obj-lang.c (objc_language_defn): Ditto.
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r-- | gdb/m2-lang.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index e5b6b500e7c..c66b70341e2 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -418,6 +418,7 @@ const struct language_defn m2_language_defn = &exp_descriptor_standard, m2_parse, /* parser */ m2_error, /* parser error function */ + null_post_parser, m2_printchar, /* Print character constant */ m2_printstr, /* function to print string constant */ m2_emit_char, /* Function to print a single character */ |