* expression.h (parse_expression_in_context): Delete prototype.

* parse.c (parse_expression_in_context): Delete.
This commit is contained in:
Joel Brobecker 2007-12-16 13:31:46 +00:00
parent 606bc03a5d
commit 7f7f83e8b1
3 changed files with 5 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2007-12-16 Joel Brobecker <brobecker@adacore.com>
* expression.h (parse_expression_in_context): Delete prototype.
* parse.c (parse_expression_in_context): Delete.
2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
Add support for pending breakpoints in MI.

View File

@ -389,8 +389,6 @@ struct expression
extern struct expression *parse_expression (char *);
extern struct expression *parse_expression_in_context (char *, int);
extern struct expression *parse_exp_1 (char **, struct block *, int);
/* The innermost context required by the stack and register variables

View File

@ -1027,20 +1027,6 @@ parse_expression (char *string)
return exp;
}
/* As for parse_expression, except that if VOID_CONTEXT_P, then
no value is expected from the expression. */
struct expression *
parse_expression_in_context (char *string, int void_context_p)
{
struct expression *exp;
exp = parse_exp_in_context (&string, 0, 0, void_context_p);
if (*string != '\000')
error (_("Junk after end of expression."));
return exp;
}
/* A post-parser that does nothing */
void