diff options
author | yui-knk <spiketeika@gmail.com> | 2024-04-01 15:46:58 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2024-04-02 07:26:35 +0900 |
commit | 8066e3ea6e9462f510e5d0da887be94b18cce50b (patch) | |
tree | f11a70a88b9531a6c45a5734f7d6d5a4fcf06128 /internal/parse.h | |
parent | b25282e61844334c70def2d678c19c6105646ab3 (diff) |
Remove VALUE from `struct rb_strterm_struct`
In the past, it was imemo. However a075c55 changed it.
Therefore no need to use `VALUE` for the first field.
Diffstat (limited to 'internal/parse.h')
-rw-r--r-- | internal/parse.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/parse.h b/internal/parse.h index fc78836e5c..d7fc6ddad4 100644 --- a/internal/parse.h +++ b/internal/parse.h @@ -18,8 +18,6 @@ struct rb_iseq_struct; /* in vm_core.h */ -#define STRTERM_HEREDOC IMEMO_FL_USER0 - /* structs for managing terminator of string literal and heredocment */ typedef struct rb_strterm_literal_struct { long nest; @@ -40,7 +38,7 @@ typedef struct rb_strterm_heredoc_struct { #define HERETERM_LENGTH_MAX UINT_MAX typedef struct rb_strterm_struct { - VALUE flags; + bool heredoc; union { rb_strterm_literal_t literal; rb_strterm_heredoc_t heredoc; |