aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-08 15:25:00 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-08 15:25:00 +0000
commit7944822188eb0d050112f2de13d0c7513692a042 (patch)
treebb1144f351e49195f15994c88ce945fd7fec5432 /gdb/parse.c
parentce2f21b2cd3c23f8ce9c8b56baf0028ecc36ec48 (diff)
downloadgdb-7944822188eb0d050112f2de13d0c7513692a042.zip
gdb-7944822188eb0d050112f2de13d0c7513692a042.tar.gz
gdb-7944822188eb0d050112f2de13d0c7513692a042.tar.bz2
* parser-defs.h: Add "extern" to start of variable declarations so
we don't end up with commons. * parse.c: Define these variables.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 38e78bb..5b18538 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -38,7 +38,22 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "command.h"
#include "language.h"
#include "parser-defs.h"
-
+
+/* Global variables declared in parser-defs.h (and commented there). */
+struct expression *expout;
+int expout_size;
+int expout_ptr;
+struct block *expression_context_block;
+struct block *innermost_block;
+struct block *block_found;
+int arglist_len;
+union type_stack_elt *type_stack;
+int type_stack_depth, type_stack_size;
+char *lexptr;
+char *namecopy;
+int paren_depth;
+int comma_terminates;
+
static void
free_funcalls PARAMS ((void));