diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-06 23:12:02 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-06 23:12:02 +0000 |
commit | e70bba9f276b2af03f5cc3d80ad20fd982d4eb1a (patch) | |
tree | 835b4f4780ff5386e216a22dd468c64ad74e5032 /gdb/valops.c | |
parent | 3654c0672f3181c64f67a5b1b59dc9e6f048675f (diff) | |
download | gdb-e70bba9f276b2af03f5cc3d80ad20fd982d4eb1a.zip gdb-e70bba9f276b2af03f5cc3d80ad20fd982d4eb1a.tar.gz gdb-e70bba9f276b2af03f5cc3d80ad20fd982d4eb1a.tar.bz2 |
* valops.c (value_cast): Don't use backslash newline--pre-ANSI
compilers (such as SunOS4 /bin/cc) don't generally support it
except in some contexts.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index a476ddc..ad3d8f9 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -151,9 +151,9 @@ value_cast (type, arg2) if (current_language->c_style_arrays && (VALUE_REPEATED (arg2) || TYPE_CODE (VALUE_TYPE (arg2)) == TYPE_CODE_ARRAY)) - arg2 = value_coerce_array (arg2); \ + arg2 = value_coerce_array (arg2); - if (TYPE_CODE (VALUE_TYPE (arg2)) == TYPE_CODE_FUNC) \ + if (TYPE_CODE (VALUE_TYPE (arg2)) == TYPE_CODE_FUNC) arg2 = value_coerce_function (arg2); COERCE_VARYING_ARRAY (arg2); |