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

ruby-changes:51762

From: yui-knk <ko1@a...>
Date: Mon, 16 Jul 2018 10:26:31 +0900 (JST)
Subject: [ruby-changes:51762] yui-knk:r63974 (trunk): parse.y: Add comment for `rb_strterm_heredoc_struct.sourceline`

yui-knk	2018-07-16 10:26:25 +0900 (Mon, 16 Jul 2018)

  New Revision: 63974

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

  Log:
    parse.y: Add comment for `rb_strterm_heredoc_struct.sourceline`

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 63973)
+++ parse.y	(revision 63974)
@@ -566,7 +566,7 @@ typedef struct rb_strterm_literal_struct https://github.com/ruby/ruby/blob/trunk/parse.y#L566
 } rb_strterm_literal_t;
 
 struct rb_strterm_heredoc_struct {
-    SIGNED_VALUE sourceline;
+    SIGNED_VALUE sourceline; /* lineno of the line that contains `<<"END"` */
     VALUE term;		/* `"END"` of `<<"END"` */
     VALUE lastline;	/* the string of line that contains `<<"END"` */
     union {

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

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