aboutsummaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-07 20:05:15 +0000
committerTom Tromey <tromey@redhat.com>2012-12-07 20:05:15 +0000
commit155da5173d74221a3099c22c27de1e8e2214982b (patch)
tree2d9b79cc51defeda92a300138d8a020590a1b0f4 /gdb/expression.h
parent4fc5d43ea6b0f1ae45c2819f9b15d2cafe2f27b7 (diff)
downloadgdb-155da5173d74221a3099c22c27de1e8e2214982b.zip
gdb-155da5173d74221a3099c22c27de1e8e2214982b.tar.gz
gdb-155da5173d74221a3099c22c27de1e8e2214982b.tar.bz2
* expression.h (parse_expression_for_completion): Rename
from parse_field_expression. (parse_completion): Rename from in_parse_field. * c-exp.y (lex_one_token): Update. * completer.c (expression_completer): Update. * go-exp.y (lex_one_token): Update. * p-exp.y (yylex): Update. * parse.c (parse_completion): Rename from in_parse_field. (parse_exp_in_context): Update. (parse_expression_for_completion): Rename from parse_field_expression. Update.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index 3b70ef3..a667845 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -98,14 +98,14 @@ struct expression
extern struct expression *parse_expression (char *);
-extern struct type *parse_field_expression (char *, char **);
+extern struct type *parse_expression_for_completion (char *, char **);
extern struct expression *parse_exp_1 (char **, CORE_ADDR pc,
const struct block *, int);
/* For use by parsers; set if we want to parse an expression and
- attempt to complete a field name. */
-extern int in_parse_field;
+ attempt completion. */
+extern int parse_completion;
/* The innermost context required by the stack and register variables
we've encountered so far. To use this, set it to NULL, then call