Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
69482dbc
Unverified
Commit
69482dbc
authored
Jan 08, 2021
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Jan 08, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5265 from shuujii/reapply-
116e128b
-because-it-is-back-at-
456878ba
Reapply
116e128b
because it is back at
456878ba
parents
6587269a
f7ff4810
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/debug.c
src/debug.c
+1
-1
No files found.
src/debug.c
View file @
69482dbc
...
@@ -66,7 +66,7 @@ mrb_debug_get_filename(mrb_state *mrb, const mrb_irep *irep, uint32_t pc)
...
@@ -66,7 +66,7 @@ mrb_debug_get_filename(mrb_state *mrb, const mrb_irep *irep, uint32_t pc)
MRB_API
int32_t
MRB_API
int32_t
mrb_debug_get_line
(
mrb_state
*
mrb
,
const
mrb_irep
*
irep
,
uint32_t
pc
)
mrb_debug_get_line
(
mrb_state
*
mrb
,
const
mrb_irep
*
irep
,
uint32_t
pc
)
{
{
if
(
irep
&&
pc
>=
0
&&
pc
<
irep
->
ilen
)
{
if
(
irep
&&
pc
<
irep
->
ilen
)
{
mrb_irep_debug_info_file
*
f
=
NULL
;
mrb_irep_debug_info_file
*
f
=
NULL
;
if
(
!
irep
->
debug_info
)
{
if
(
!
irep
->
debug_info
)
{
return
-
1
;
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment