aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r--gdb/ch-exp.c1
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: