PATCH: fix indentation in c-lang.c
Jim Blandy
jimb@zwingli.cygnus.com
Tue Dec 18 19:09:00 GMT 2001
Obvious fix.
2001-12-18 Jim Blandy <jimb@redhat.com>
* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.
Index: gdb/c-lang.c
n===================================================================
RCS file: /cvs/src/src/gdb/c-lang.c,v
retrieving revision 1.7
diff -c -r1.7 c-lang.c
*** gdb/c-lang.c 2001/12/09 07:32:21 1.7
--- gdb/c-lang.c 2001/12/19 03:02:41
***************
*** 109,115 ****
style. */
if (!force_ellipses
&& length > 0
! && extract_unsigned_integer (string + (length - 1) * width, width) == '\0')
length--;
if (length == 0)
--- 109,116 ----
style. */
if (!force_ellipses
&& length > 0
! && (extract_unsigned_integer (string + (length - 1) * width, width)
! == '\0'))
length--;
if (length == 0)
***************
*** 381,403 ****
struct type **CONST_PTR (c_builtin_types[]) =
{
&builtin_type_int,
! &builtin_type_long,
! &builtin_type_short,
! &builtin_type_char,
! &builtin_type_float,
! &builtin_type_double,
! &builtin_type_void,
! &builtin_type_long_long,
! &builtin_type_signed_char,
! &builtin_type_unsigned_char,
! &builtin_type_unsigned_short,
! &builtin_type_unsigned_int,
! &builtin_type_unsigned_long,
! &builtin_type_unsigned_long_long,
! &builtin_type_long_double,
! &builtin_type_complex,
! &builtin_type_double_complex,
! 0
};
const struct language_defn c_language_defn =
--- 382,404 ----
struct type **CONST_PTR (c_builtin_types[]) =
{
&builtin_type_int,
! &builtin_type_long,
! &builtin_type_short,
! &builtin_type_char,
! &builtin_type_float,
! &builtin_type_double,
! &builtin_type_void,
! &builtin_type_long_long,
! &builtin_type_signed_char,
! &builtin_type_unsigned_char,
! &builtin_type_unsigned_short,
! &builtin_type_unsigned_int,
! &builtin_type_unsigned_long,
! &builtin_type_unsigned_long_long,
! &builtin_type_long_double,
! &builtin_type_complex,
! &builtin_type_double_complex,
! 0
};
const struct language_defn c_language_defn =
***************
*** 432,455 ****
struct type **const (cplus_builtin_types[]) =
{
&builtin_type_int,
! &builtin_type_long,
! &builtin_type_short,
! &builtin_type_char,
! &builtin_type_float,
! &builtin_type_double,
! &builtin_type_void,
! &builtin_type_long_long,
! &builtin_type_signed_char,
! &builtin_type_unsigned_char,
! &builtin_type_unsigned_short,
! &builtin_type_unsigned_int,
! &builtin_type_unsigned_long,
! &builtin_type_unsigned_long_long,
! &builtin_type_long_double,
! &builtin_type_complex,
! &builtin_type_double_complex,
! &builtin_type_bool,
! 0
};
const struct language_defn cplus_language_defn =
--- 433,456 ----
struct type **const (cplus_builtin_types[]) =
{
&builtin_type_int,
! &builtin_type_long,
! &builtin_type_short,
! &builtin_type_char,
! &builtin_type_float,
! &builtin_type_double,
! &builtin_type_void,
! &builtin_type_long_long,
! &builtin_type_signed_char,
! &builtin_type_unsigned_char,
! &builtin_type_unsigned_short,
! &builtin_type_unsigned_int,
! &builtin_type_unsigned_long,
! &builtin_type_unsigned_long_long,
! &builtin_type_long_double,
! &builtin_type_complex,
! &builtin_type_double_complex,
! &builtin_type_bool,
! 0
};
const struct language_defn cplus_language_defn =
More information about the Gdb-patches
mailing list