mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* eval.c: initial value for block_unique must be 1.
[ruby-talk:180420] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6fec28d1a2
commit
a25ab42137
2 changed files with 6 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -740,7 +740,7 @@ static unsigned long frame_unique = 0;
|
|||
ruby_frame = _frame.prev; \
|
||||
} while (0)
|
||||
|
||||
static unsigned long block_unique = 0;
|
||||
static unsigned long block_unique = 1;
|
||||
|
||||
#define PUSH_BLOCK(v,iv,b) do { \
|
||||
struct BLOCK _block; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue