summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 12:35:54 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 12:35:54 +0000
commit82e986c286fe1547cde8998e0a13860d057fe12e (patch)
treec5d4ce62fe0b4d00151af40dae413887af278720 /parse.y
parent51edb3004256698d91ab0ed685d705c9bb23bc22 (diff)
downloadruby-82e986c286fe1547cde8998e0a13860d057fe12e.tar.gz
Fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index 5dc83e7f68..b76f3ca00d 100644
--- a/parse.y
+++ b/parse.y
@@ -52,8 +52,8 @@
do \
if (N) \
{ \
- (Current).beg_pos = YYRHSLOC(Rhs, 1).beg_pos; \
- (Current).end_pos = YYRHSLOC(Rhs, N).end_pos; \
+ (Current).beg_pos = YYRHSLOC(Rhs, 1).beg_pos; \
+ (Current).end_pos = YYRHSLOC(Rhs, N).end_pos; \
} \
else \
RUBY_SET_YYLLOC_OF_NONE(Current); \
@@ -9496,8 +9496,8 @@ rb_parser_set_location_from_strterm_heredoc(struct parser_params *parser, rb_str
yylloc->beg_pos.lineno = (int)here->sourceline;
yylloc->beg_pos.column = (int)(here->u3.lastidx - term_len);
- yylloc->end_pos.lineno = (int)here->sourceline;
- yylloc->end_pos.column = (int)(here->u3.lastidx);
+ yylloc->end_pos.lineno = (int)here->sourceline;
+ yylloc->end_pos.column = (int)(here->u3.lastidx);
}
void