mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17dd212f00
commit
89bfee6fd4
1 changed files with 2 additions and 2 deletions
4
parse.y
4
parse.y
|
@ -4187,7 +4187,7 @@ string_content : tSTRING_CONTENT
|
|||
}
|
||||
| tSTRING_DVAR
|
||||
{
|
||||
/* need to backup lex_stream so that a string literal `%&foo,#$&,bar&` can be parsed */
|
||||
/* need to backup lex_strterm so that a string literal `%&foo,#$&,bar&` can be parsed */
|
||||
$<strterm>$ = lex_strterm;
|
||||
lex_strterm = 0;
|
||||
SET_LEX_STATE(EXPR_BEG);
|
||||
|
@ -4210,7 +4210,7 @@ string_content : tSTRING_CONTENT
|
|||
CMDARG_SET(0);
|
||||
}
|
||||
{
|
||||
/* need to backup lex_stream so that a string literal `%!foo,#{ !0 },bar!` can be parsed */
|
||||
/* need to backup lex_strterm so that a string literal `%!foo,#{ !0 },bar!` can be parsed */
|
||||
$<strterm>$ = lex_strterm;
|
||||
lex_strterm = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue