mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
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
This commit is contained in:

committed by
Simon Marchi

parent
b5b591a865
commit
91ef1ea542
@ -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));
|
||||
|
Reference in New Issue
Block a user