From b7c17ad14d98e568e99811566d0d5989c9a83f2c Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 6 Dec 2017 01:41:05 +0000 Subject: 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 --- parse.y | 4 ++-- 1 file 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 -- cgit v1.2.3