diff options
author | Doug Evans <dje@google.com> | 2012-01-09 17:27:20 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-01-09 17:27:20 +0000 |
commit | 1a4eeb98116176cb9a3e33a057bc2700a9e0d736 (patch) | |
tree | 182a9c4a25e9bd3925a17e904ddff505f9ff6781 /gdb/parser-defs.h | |
parent | 06db92f05489431368ef8d1ece01ea588235741d (diff) | |
download | gdb-1a4eeb98116176cb9a3e33a057bc2700a9e0d736.zip gdb-1a4eeb98116176cb9a3e33a057bc2700a9e0d736.tar.gz gdb-1a4eeb98116176cb9a3e33a057bc2700a9e0d736.tar.bz2 |
* parser-defs.h (namecopy): Delete.
* parse.c (namecopy, namecopy_size): Move into copy_name.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index d14aea6..16b40ac 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -216,17 +216,6 @@ extern char *lexptr; Currently used only for error reporting. */ extern char *prev_lexptr; -/* Tokens that refer to names do so with explicit pointer and length, - so they can share the storage that lexptr is parsing. - - When it is necessary to pass a name to a function that expects - a null-terminated string, the substring is copied out - into a block of storage that namecopy points to. - - namecopy is allocated once, guaranteed big enough, for each parsing. */ - -extern char *namecopy; - /* Current depth in parentheses within the expression. */ extern int paren_depth; |