summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 01:41:05 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 01:41:05 +0000
commitb7c17ad14d98e568e99811566d0d5989c9a83f2c (patch)
treed3c610319677c423c33d1fe6be1cea16f37a8b15
parentf7899d3c80e5e234240c3e549579a0185f99007f (diff)
parse.y: remove redefined typedef
Clang told me that this is C11 feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 2c0babcb8b..3469461527 100644
--- a/parse.y
+++ b/parse.y
@@ -766,7 +766,7 @@ typedef struct rb_strterm_literal_struct {
} u3;
} rb_strterm_literal_t;
-typedef struct rb_strterm_heredoc_struct {
+struct rb_strterm_heredoc_struct {
SIGNED_VALUE sourceline;
VALUE term; /* `"END"` of `<<"END"` */
VALUE lastline; /* the string of line that contains `<<"END"` */
@@ -774,7 +774,7 @@ typedef struct rb_strterm_heredoc_struct {
VALUE dummy;
long lastidx; /* the column of `<<"END"` */
} u3;
-} rb_strterm_heredoc_t;
+};
#define STRTERM_HEREDOC IMEMO_FL_USER0