* parse.c: Don't define block_found; it is defined in symtab.c.

* parser-defs.h: Add comment regarding block_found.
This commit is contained in:
Jim Kingdon 1994-04-20 15:48:08 +00:00
parent d7a96d6771
commit 703e4251af
3 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,8 @@ Wed Apr 20 08:37:16 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* dstread.c, coffread.c: Don't define pending_blocks; buildsym.c * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c
takes care of it. takes care of it.
* parse.c: Don't define block_found; it is defined in symtab.c.
* parser-defs.h: Add comment regarding block_found.
Tue Apr 19 09:46:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) Tue Apr 19 09:46:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)

View File

@ -45,7 +45,6 @@ int expout_size;
int expout_ptr; int expout_ptr;
struct block *expression_context_block; struct block *expression_context_block;
struct block *innermost_block; struct block *innermost_block;
struct block *block_found;
int arglist_len; int arglist_len;
union type_stack_elt *type_stack; union type_stack_elt *type_stack;
int type_stack_depth, type_stack_size; int type_stack_depth, type_stack_size;

View File

@ -43,7 +43,9 @@ extern struct block *expression_context_block;
we've encountered so far. */ we've encountered so far. */
extern struct block *innermost_block; extern struct block *innermost_block;
/* The block in which the most recently discovered symbol was found. */ /* The block in which the most recently discovered symbol was found.
FIXME: Should be declared along with lookup_symbol in symtab.h; is not
related specifically to parsing. */
extern struct block *block_found; extern struct block *block_found;
/* Number of arguments seen so far in innermost function call. */ /* Number of arguments seen so far in innermost function call. */