diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 9172fb1892..0a4bcba5fa 100644 --- a/internal.h +++ b/internal.h @@ -532,6 +532,7 @@ struct RIMemo { enum imemo_type { imemo_none, imemo_cref, + imemo_svar, imemo_mask = 0x07 }; @@ -634,6 +635,16 @@ CREF_OMOD_SHARED_UNSET(rb_cref_t *cref) cref->flags &= ~NODE_FL_CREF_OMOD_SHARED_; } +/* SVAR */ + +struct vm_svar { + VALUE flags; + const rb_cref_t * const cref; + const VALUE lastline; + const VALUE backref; + const VALUE others; +}; + /* MEMO */ struct MEMO { |