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
3f70e3a8
Commit
3f70e3a8
authored
Sep 09, 2019
by
takkaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change _ variable in mirb to be enable by default
parent
e2845158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
+3
-3
No files found.
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
View file @
3f70e3a8
...
...
@@ -406,7 +406,7 @@ ctrl_c_handler(int signo)
}
#endif
#if
def EN
ABLE_MIRB_UNDERSCORE
#if
ndef DIS
ABLE_MIRB_UNDERSCORE
void
decl_lv_underscore
(
mrb_state
*
mrb
,
mrbc_context
*
cxt
)
{
struct
RProc
*
proc
;
...
...
@@ -491,7 +491,7 @@ main(int argc, char **argv)
cxt
=
mrbc_context_new
(
mrb
);
#if
def EN
ABLE_MIRB_UNDERSCORE
#if
ndef DIS
ABLE_MIRB_UNDERSCORE
decl_lv_underscore
(
mrb
,
cxt
);
#endif
...
...
@@ -667,7 +667,7 @@ main(int argc, char **argv)
result
=
mrb_any_to_s
(
mrb
,
result
);
}
p
(
mrb
,
result
,
1
);
#if
def EN
ABLE_MIRB_UNDERSCORE
#if
ndef DIS
ABLE_MIRB_UNDERSCORE
*
(
mrb
->
c
->
stack
+
1
)
=
result
;
#endif
}
...
...
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