[前][次][番号順一覧][スレッド一覧]

ruby-changes:65162

From: Adam <ko1@a...>
Date: Sun, 7 Feb 2021 03:03:53 +0900 (JST)
Subject: [ruby-changes:65162] 132e01a1c3 (master): .gdbinit: Fix indentation in print_id [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=132e01a1c3

From 132e01a1c3ada1fe31559f8b2a3bf7106406f6d2 Mon Sep 17 00:00:00 2001
From: Adam Jensen <acjensen@g...>
Date: Sat, 6 Feb 2021 11:07:03 -0500
Subject: .gdbinit: Fix indentation in print_id [ci skip]

---
 .gdbinit | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gdbinit b/.gdbinit
index 60aa8fb..8979e8b 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1102,11 +1102,11 @@ define print_id https://github.com/ruby/ruby/blob/trunk/.gdbinit#L1102
           set $arylen = $ary->as.heap.len
         end
         set $result = $aryptr[($serial % ID_ENTRY_UNIT) * ID_ENTRY_SIZE + $t]
-	if $result != RUBY_Qnil
+        if $result != RUBY_Qnil
           print_string $result
-	else
-	  echo undef
-	end
+        else
+          echo undef
+        end
       end
     end
   end
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]