Skip to content

Commit

Permalink
guile/scm-math: indentation fixes
Browse files Browse the repository at this point in the history
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  <[email protected]>

	* guile/scm-math.c (vlscm_convert_typed_number): Fix the
	indentation of calls to gdbscm_make_out_of_range_error.

Change-Id: I7463998b77c17a00e88058e89b52fa029ee40e03
  • Loading branch information
Bob131 authored and simark committed Jul 29, 2021
1 parent b5b591a commit 91ef1ea
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gdb/guile/scm-math.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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));
Expand All @@ -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));
Expand Down

0 comments on commit 91ef1ea

Please sign in to comment.