mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* node.h (NEW_YIELD), parse.y (new_yield_gen): array-values flags
has been already obsolete. patch by Thomas Enebo. [ruby-core:41929][Bug #5847] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a2229db3e8
commit
c5feeb9ac1
3 changed files with 11 additions and 14 deletions
2
node.h
2
node.h
|
@ -376,7 +376,7 @@ typedef struct RNode {
|
|||
#define NEW_RESBODY(a,ex,n) NEW_NODE(NODE_RESBODY,n,ex,a)
|
||||
#define NEW_ENSURE(b,en) NEW_NODE(NODE_ENSURE,b,0,en)
|
||||
#define NEW_RETURN(s) NEW_NODE(NODE_RETURN,s,0,0)
|
||||
#define NEW_YIELD(a,s) NEW_NODE(NODE_YIELD,a,0,s)
|
||||
#define NEW_YIELD(a) NEW_NODE(NODE_YIELD,a,0,0)
|
||||
#define NEW_LIST(a) NEW_ARRAY(a)
|
||||
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
|
||||
#define NEW_ZARRAY() NEW_NODE(NODE_ZARRAY,0,0,0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue