aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-15 23:04:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-15 23:04:50 +0000
commit698fe540b9ac94b2cf7e7261a47d1f5b7d8d09d0 (patch)
treef1a0cc131e0fa8feed33d899134982d8e4c60026
parent202cb99c86387f351f38266aff95fc1563a5ede7 (diff)
downloadruby-698fe540b9ac94b2cf7e7261a47d1f5b7d8d09d0.tar.gz
* node.h (RNode): match the type of flags to RBasic, and renamed
nd_file as nd_reserved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--node.h4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 88371389ad..e20e9a770e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Thu Dec 16 07:51:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Thu Dec 16 08:04:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * node.h (RNode): match the type of flags to RBasic, and renamed
+ nd_file as nd_reserved.
* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
is always zero-cleared.
diff --git a/node.h b/node.h
index 82f7ba06d2..b9668beccc 100644
--- a/node.h
+++ b/node.h
@@ -233,8 +233,8 @@ enum node_type {
};
typedef struct RNode {
- unsigned long flags;
- char *nd_file;
+ VALUE flags;
+ VALUE nd_reserved; /* ex nd_file */
union {
struct RNode *node;
ID id;