summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 05:55:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 05:55:04 +0000
commit0c18a4b0f070f72b7d15f4263caca0085b070973 (patch)
treec2292d6a02f0fa529e8989d061ced2aa6cc6263e /vm.c
parent86cd6d2e98fcc025601692842d7f6c42f7d748fa (diff)
* vm.c (REWIND_CFP): get rid of statement expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index c4ab36b904..d4e7307774 100644
--- a/vm.c
+++ b/vm.c
@@ -1677,7 +1677,7 @@ vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval,
#define REWIND_CFP(expr) do { \
rb_thread_t *th__ = GET_THREAD(); \
- th__->cfp++; (expr); th__->cfp--; \
+ th__->cfp++; expr; th__->cfp--; \
} while (0)
static VALUE