diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-02 07:07:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-02 07:07:01 +0000 |
commit | 7615362d64e38ef82afd6598ecb68cc7de535e36 (patch) | |
tree | d1db1891e686f998452d843afa1a71c21a97fe13 /internal.h | |
parent | 4f40dafe89483094cebeb859a984f4ff170f942f (diff) | |
download | ruby-7615362d64e38ef82afd6598ecb68cc7de535e36.tar.gz |
internal.h: fix typos
* internal.h (MEMO_V1_SET, MEMO_V2_SET): fix typos. use the macro
parameter, not the local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal.h b/internal.h index 7088deb706..f9bc693e0f 100644 --- a/internal.h +++ b/internal.h @@ -812,8 +812,8 @@ struct MEMO { } u3; }; -#define MEMO_V1_SET(m, v) RB_OBJ_WRITE((memo), &(memo)->v1, (v)) -#define MEMO_V2_SET(m, v) RB_OBJ_WRITE((memo), &(memo)->v2, (v)) +#define MEMO_V1_SET(m, v) RB_OBJ_WRITE((m), &(m)->v1, (v)) +#define MEMO_V2_SET(m, v) RB_OBJ_WRITE((m), &(m)->v2, (v)) #define MEMO_CAST(m) ((struct MEMO *)m) |