From 7f7f83e8b1993e1f3591db3ce5665c9c6dc78401 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 16 Dec 2007 13:31:46 +0000 Subject: * expression.h (parse_expression_in_context): Delete prototype. * parse.c (parse_expression_in_context): Delete. --- gdb/parse.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'gdb/parse.c') diff --git a/gdb/parse.c b/gdb/parse.c index 1b9066d..81f6787 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -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 -- cgit v1.1