diff options
author | George Barrett <bob@bob131.so> | 2021-07-30 01:12:35 +1000 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-07-29 12:56:04 -0400 |
commit | 91ef1ea5428adfc8b2b13bd584e1791c9e59e804 (patch) | |
tree | 72eb14a2275e92dc8e47b3d2244496ff4963acf8 /gdb/guile | |
parent | b5b591a865b3021453a47c612ece5e7574b47d04 (diff) | |
download | gdb-91ef1ea5428adfc8b2b13bd584e1791c9e59e804.zip gdb-91ef1ea5428adfc8b2b13bd584e1791c9e59e804.tar.gz gdb-91ef1ea5428adfc8b2b13bd584e1791c9e59e804.tar.bz2 |
guile/scm-math: indentation fixes
Changes the indenting of a few expressions in
vlscm_convert_typed_number to be better in line with the prevailing
code style.
gdb/ChangeLog:
2021-07-30 George Barrett <bob@bob131.so>
* guile/scm-math.c (vlscm_convert_typed_number): Fix the
indentation of calls to gdbscm_make_out_of_range_error.
Change-Id: I7463998b77c17a00e88058e89b52fa029ee40e03
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-math.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c index 96d8cb4..b6a03da 100644 --- a/gdb/guile/scm-math.c +++ b/gdb/guile/scm-math.c @@ -532,9 +532,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj, if (!scm_is_unsigned_integer (obj, 0, max)) { *except_scmp - = gdbscm_make_out_of_range_error (func_name, - obj_arg_pos, obj, - _("value out of range for type")); + = gdbscm_make_out_of_range_error + (func_name, obj_arg_pos, obj, + _("value out of range for type")); return NULL; } return value_from_longest (type, gdbscm_scm_to_ulongest (obj)); @@ -547,9 +547,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj, if (!scm_is_signed_integer (obj, min, max)) { *except_scmp - = gdbscm_make_out_of_range_error (func_name, - obj_arg_pos, obj, - _("value out of range for type")); + = gdbscm_make_out_of_range_error + (func_name, obj_arg_pos, obj, + _("value out of range for type")); return NULL; } return value_from_longest (type, gdbscm_scm_to_longest (obj)); @@ -561,9 +561,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj, if (!scm_is_unsigned_integer (obj, 0, max)) { *except_scmp - = gdbscm_make_out_of_range_error (func_name, - obj_arg_pos, obj, - _("value out of range for type")); + = gdbscm_make_out_of_range_error + (func_name, obj_arg_pos, obj, + _("value out of range for type")); return NULL; } return value_from_pointer (type, gdbscm_scm_to_ulongest (obj)); |