* stbsread.c (read_one_struct_field): Use subfile language instead of

global language. Improve efficiency.
This commit is contained in:
Kung Hsu
1995-09-13 22:31:04 +00:00
parent 199f521718
commit 771e0a5cb0
2 changed files with 6 additions and 1 deletions

View File

@@ -2350,7 +2350,7 @@ read_one_struct_field (fip, pp, p, type, objfile)
The stabs contains full mangled name for each field.
We try to demangle the name and extract the field name out of it.
*/
if (current_language->la_language == language_cplus)
if (ARM_DEMANGLING && current_subfile->language == language_cplus)
{
char save_p;
char *dem, *dem_p;