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
fff4a4ed
Commit
fff4a4ed
authored
Apr 11, 2017
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OP_LAMBDA generation should honor VAL/NOVAL; fix #3580
parent
db47ae5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mrbgems/mruby-compiler/core/codegen.c
mrbgems/mruby-compiler/core/codegen.c
+2
-2
No files found.
mrbgems/mruby-compiler/core/codegen.c
View file @
fff4a4ed
...
...
@@ -1383,7 +1383,7 @@ codegen(codegen_scope *s, node *tree, int val)
break
;
case
NODE_LAMBDA
:
{
if
(
val
)
{
int
idx
=
lambda_body
(
s
,
tree
,
1
);
genop
(
s
,
MKOP_Abc
(
OP_LAMBDA
,
cursp
(),
idx
,
OP_L_LAMBDA
));
...
...
@@ -1392,7 +1392,7 @@ codegen(codegen_scope *s, node *tree, int val)
break
;
case
NODE_BLOCK
:
{
if
(
val
)
{
int
idx
=
lambda_body
(
s
,
tree
,
1
);
genop
(
s
,
MKOP_Abc
(
OP_LAMBDA
,
cursp
(),
idx
,
OP_L_BLOCK
));
...
...
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