X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fparser-defs.h;h=16b40acf8205b3e02a915f1306785db330847cc0;hb=b161e06ff65e7931608a43ebfa81d5aa6baecec8;hp=3f743d15bed3fb5ff5538fd4a6510532be0b49b2;hpb=0df8b4180acb4890d058c92753dafcd4ff0a87d1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 3f743d15be..16b40acf82 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -1,8 +1,7 @@ /* Parser definitions for GDB. - Copyright (C) 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2002, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 1986, 1989-2000, 2002, 2007-2012 Free Software + Foundation, Inc. Modified from expread.y by the Department of Computer Science at the State University of New York at Buffalo. @@ -131,8 +130,6 @@ union type_stack_elt extern union type_stack_elt *type_stack; extern int type_stack_depth, type_stack_size; -extern void write_exp_elt (union exp_element); - extern void write_exp_elt_opcode (enum exp_opcode); extern void write_exp_elt_sym (struct symbol *); @@ -219,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;