* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
This commit is contained in:
parent
fcb0c84690
commit
963ee102f2
|
@ -1,5 +1,7 @@
|
||||||
Fri Nov 12 16:22:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Fri Nov 12 16:22:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
|
||||||
|
|
||||||
* partial-stab.h: Ignore ':' symbol descriptors. Same case as
|
* partial-stab.h: Ignore ':' symbol descriptors. Same case as
|
||||||
Kung's stabsread.c change.
|
Kung's stabsread.c change.
|
||||||
|
|
||||||
|
|
|
@ -1462,8 +1462,11 @@ yylex ()
|
||||||
current_language->la_language == language_cplus
|
current_language->la_language == language_cplus
|
||||||
? &is_a_field_of_this : (int *) NULL,
|
? &is_a_field_of_this : (int *) NULL,
|
||||||
(struct symtab **) NULL);
|
(struct symtab **) NULL);
|
||||||
|
/* Call lookup_symtab, not lookup_partial_symtab, in case there are
|
||||||
|
no psymtabs (coff, xcoff, or some future change to blow away the
|
||||||
|
psymtabs once once symbols are read). */
|
||||||
if ((sym && SYMBOL_CLASS (sym) == LOC_BLOCK) ||
|
if ((sym && SYMBOL_CLASS (sym) == LOC_BLOCK) ||
|
||||||
lookup_partial_symtab (tmp))
|
lookup_symtab (tmp))
|
||||||
{
|
{
|
||||||
yylval.ssym.sym = sym;
|
yylval.ssym.sym = sym;
|
||||||
yylval.ssym.is_a_field_of_this = is_a_field_of_this;
|
yylval.ssym.is_a_field_of_this = is_a_field_of_this;
|
||||||
|
|
Loading…
Reference in New Issue