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
dcc316d3
Commit
dcc316d3
authored
Jun 19, 2015
by
Anton Davydov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in documentation and error messages [skip ci]
parent
6a796cb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CONTRIBUTING.md
CONTRIBUTING.md
+1
-1
mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
+1
-1
mrbgems/mruby-fiber/src/fiber.c
mrbgems/mruby-fiber/src/fiber.c
+3
-3
No files found.
CONTRIBUTING.md
View file @
dcc316d3
...
@@ -45,7 +45,7 @@ on-demand.
...
@@ -45,7 +45,7 @@ on-demand.
#### Don't use C++ style comments
#### Don't use C++ style comments
/* This is the prefered comment style */
/* This is the prefer
r
ed comment style */
Use C++ style comments only for temporary comment e.g. commenting out some code lines.
Use C++ style comments only for temporary comment e.g. commenting out some code lines.
...
...
mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
View file @
dcc316d3
...
@@ -33,7 +33,7 @@ static help_msg help_msg_list[] = {
...
@@ -33,7 +33,7 @@ static help_msg help_msg_list[] = {
"
\n
"
"
\n
"
"Continue program stopped by a breakpoint.
\n
"
"Continue program stopped by a breakpoint.
\n
"
"If N, which is non negative value, is passed,
\n
"
"If N, which is non negative value, is passed,
\n
"
"proceed program until the N-th breakpoint is com
m
ing.
\n
"
"proceed program until the N-th breakpoint is coming.
\n
"
"If N is not passed, N is assumed 1.
\n
"
"If N is not passed, N is assumed 1.
\n
"
},
},
{
{
...
...
mrbgems/mruby-fiber/src/fiber.c
View file @
dcc316d3
...
@@ -167,7 +167,7 @@ fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr
...
@@ -167,7 +167,7 @@ fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr
}
}
}
}
if
(
resume
&&
c
->
status
==
MRB_FIBER_TRANSFERRED
)
{
if
(
resume
&&
c
->
status
==
MRB_FIBER_TRANSFERRED
)
{
mrb_raise
(
mrb
,
E_FIBER_ERROR
,
"resuming transfered fiber"
);
mrb_raise
(
mrb
,
E_FIBER_ERROR
,
"resuming transfer
r
ed fiber"
);
}
}
if
(
c
->
status
==
MRB_FIBER_RUNNING
||
c
->
status
==
MRB_FIBER_RESUMING
)
{
if
(
c
->
status
==
MRB_FIBER_RUNNING
||
c
->
status
==
MRB_FIBER_RESUMING
)
{
mrb_raise
(
mrb
,
E_FIBER_ERROR
,
"double resume"
);
mrb_raise
(
mrb
,
E_FIBER_ERROR
,
"double resume"
);
...
@@ -265,8 +265,8 @@ fiber_eq(mrb_state *mrb, mrb_value self)
...
@@ -265,8 +265,8 @@ fiber_eq(mrb_state *mrb, mrb_value self)
* call-seq:
* call-seq:
* fiber.transfer(args, ...) -> obj
* fiber.transfer(args, ...) -> obj
*
*
* Transfers control to rec
ie
ver fiber of the method call.
* Transfers control to rec
ei
ver fiber of the method call.
* Unlike <code>resume</code> the rec
ie
ver wouldn't be pushed to call
* Unlike <code>resume</code> the rec
ei
ver wouldn't be pushed to call
* stack of fibers. Instead it will switch to the call stack of
* stack of fibers. Instead it will switch to the call stack of
* transferring fiber.
* transferring fiber.
* When resuming a fiber that was transferred to another fiber it would
* When resuming a fiber that was transferred to another fiber it would
...
...
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