guile/scm-math: indentation fixes
authorGeorge Barrett <bob@bob131.so>
Thu, 29 Jul 2021 15:12:35 +0000 (01:12 +1000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 Jul 2021 16:56:04 +0000 (12:56 -0400)
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

gdb/guile/scm-math.c

index 96d8cb4a4e4d631164620a84f953c0bcf6a12e4e..b6a03da0af9477b22f0a0b7781d484fc13e67e18 100644 (file)
@@ -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));