aboutsummaryrefslogtreecommitdiffstats
path: root/misc/lldb_cruby.py
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-02 21:13:22 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-02 21:13:22 +0000
commitad67845ba82023474ed2c914e7b38859a9cd488d (patch)
tree90f01f2174b2d3975c20795e6151ed9e2188620a /misc/lldb_cruby.py
parent714c2b0a93a3ad2206dc93535f42987083b16ca9 (diff)
downloadruby-ad67845ba82023474ed2c914e7b38859a9cd488d.tar.gz
Fix typo in lldb script
Also fix tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/lldb_cruby.py')
-rwxr-xr-xmisc/lldb_cruby.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py
index a39a41ecd6..6a60725294 100755
--- a/misc/lldb_cruby.py
+++ b/misc/lldb_cruby.py
@@ -197,7 +197,7 @@ def lldb_inspect(debugger, target, result, val):
if not imag.startswith("-"):
imag = "+" + imag
print >> result, "(Complex) " + real + imag + "i"
- elif flType == RUBY_T_REGEX:
+ elif flType == RUBY_T_REGEXP:
tRRegex = target.FindFirstType("struct RRegexp").GetPointerType()
val = val.Cast(tRRegex)
print >> result, "(Regex)"