diff options
author | Sanimir Agovic <sanimir.agovic@intel.com> | 2013-12-19 08:31:17 +0000 |
---|---|---|
committer | Sanimir Agovic <sanimir.agovic@intel.com> | 2014-04-11 13:43:45 +0100 |
commit | 0c9c3474029f5250b428274eaf63f7a349c6fc5f (patch) | |
tree | 80a0b657db1ffc45df9c13b9f42ca196e389e8aa /gdb/f-exp.y | |
parent | 85cf705b9d4c2082e5c4a41126bf773ff435d3d2 (diff) | |
download | gdb-0c9c3474029f5250b428274eaf63f7a349c6fc5f.zip gdb-0c9c3474029f5250b428274eaf63f7a349c6fc5f.tar.gz gdb-0c9c3474029f5250b428274eaf63f7a349c6fc5f.tar.bz2 |
refactoring: rename create_range_type to create_static_range_type
* gdbtypes.c (create_static_range_type): Renamed from create_range_type.
* gdbtypes.h (create_static_range_type): Renamed from create_range_type.
* ada-lang.c: All uses of create_range_type updated.
* coffread.c: All uses of create_range_type updated.
* dwarf2read.c: All uses of create_range_type updated.
* f-exp.y: All uses of create_range_type updated.
* m2-valprint.c: All uses of create_range_type updated.
* mdebugread.c: All uses of create_range_type updated.
* stabsread.c: All uses of create_range_type updated.
* valops.c: All uses of create_range_type updated.
* valprint.c: All uses of create_range_type updated.
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r-- | gdb/f-exp.y | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y index 3deaf30..c70da17 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -1,3 +1,4 @@ + /* YACC parser for Fortran expressions, for GDB. Copyright (C) 1986-2014 Free Software Foundation, Inc. @@ -577,10 +578,10 @@ ptype : typebase if (array_size != -1) { range_type = - create_range_type ((struct type *) NULL, - parse_f_type (pstate) - ->builtin_integer, - 0, array_size - 1); + create_static_range_type ((struct type *) NULL, + parse_f_type (pstate) + ->builtin_integer, + 0, array_size - 1); follow_type = create_array_type ((struct type *) NULL, follow_type, range_type); |