diff options
author | Wilfried Moser <moser@cygnus> | 1996-05-30 11:26:24 +0000 |
---|---|---|
committer | Wilfried Moser <moser@cygnus> | 1996-05-30 11:26:24 +0000 |
commit | 3db21ca5cdb02e9fac1461c4dd38b45eec727d15 (patch) | |
tree | 6d4d7be117771090fb7faab16b77c486984d92ba /gdb/ch-exp.c | |
parent | a40aee3822977452fd67d92ae7254c3de17c7e6b (diff) | |
download | gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.zip gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.tar.gz gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.tar.bz2 |
* ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r-- | gdb/ch-exp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index d03415b..db1188f 100644 --- a/gdb/ch-exp.c +++ b/gdb/ch-exp.c @@ -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: |