summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-07 03:42:42 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-07 03:42:42 +0000
commit2c551e4715bfb9d2dc213805dc551e62af73a861 (patch)
tree0215b204df0c3742855721f39a8919028087b6bf /internal.h
parent011b74b748c0230dc5c013e3a38a9f0d58c5893f (diff)
* parse.y: need to use updated (re-created) symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 1546b219e8..45b9eff0db 100644
--- a/internal.h
+++ b/internal.h
@@ -419,6 +419,8 @@ struct RSymbol {
};
#define RSYMBOL(obj) (R_CAST(RSymbol)(obj))
+#define SYMBOL_PINNED FL_USER1
+#define SYMBOL_PINNED_P(sym) FL_TEST((sym), SYMBOL_PINNED)
struct RFloat {
struct RBasic basic;