summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-03 11:50:46 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-05 17:47:12 -0700
commitfd2ef1a9bfa489842472d183ea10b6fd9838c460 (patch)
tree6cdd5a5aee5c4d90af6c3d858191984d44382bc1 /vm_core.h
parentce04392d8d4f8cf14c70bbf1ad3544c7db4e1671 (diff)
Add VM_NO_KEYWORDS
I think this is easier to read than using literal 0 with comments in every case where it is used.
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index a679f0593f..fdd34e4fae 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1268,6 +1268,7 @@ VM_FRAME_RUBYFRAME_P(const rb_control_frame_t *cfp)
#define VM_GUARDED_PREV_EP(ep) GC_GUARDED_PTR(ep)
#define VM_BLOCK_HANDLER_NONE 0
+#define VM_NO_KEYWORDS 0
static inline int
VM_ENV_LOCAL_P(const VALUE *ep)