[前][次][番号順一覧][スレッド一覧]

ruby-changes:48809

From: yui-knk <ko1@a...>
Date: Tue, 28 Nov 2017 15:19:12 +0900 (JST)
Subject: [ruby-changes:48809] yui-knk:r60926 (trunk): Fix typos

yui-knk	2017-11-28 15:19:04 +0900 (Tue, 28 Nov 2017)

  New Revision: 60926

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60926

  Log:
    Fix typos

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 60925)
+++ parse.y	(revision 60926)
@@ -4187,7 +4187,7 @@ string_content	: tSTRING_CONTENT https://github.com/ruby/ruby/blob/trunk/parse.y#L4187
 		    }
 		| 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 https://github.com/ruby/ruby/blob/trunk/parse.y#L4210
 			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;
 		    }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]