summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;