* ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.

This commit is contained in:
Wilfried Moser 1996-05-30 11:26:24 +00:00
parent a40aee3822
commit 3db21ca5cd
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
* ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
* remote-mips.c: cannot use EINVAL for breakpoint test since

View File

@ -2035,6 +2035,7 @@ ch_lex ()
break;
case LOC_TYPEDEF:
yylval.tsym.type = SYMBOL_TYPE (sym);
calculate_array_length (yylval.tsym.type);
return TYPENAME;
case LOC_UNDEF:
case LOC_CONST_BYTES: