File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -557,7 +557,11 @@ struct pm_parser {
557557 /** The list of magic comments that have been found while parsing. */
558558 pm_list_t magic_comment_list ;
559559
560- /** The optional location of the __END__ keyword and its contents. */
560+ /**
561+ * An optional location that represents the location of the __END__ marker
562+ * and the rest of the content of the file. This content is loaded into the
563+ * DATA constant when the file being parsed is the main file being executed.
564+ */
561565 pm_location_t data_loc ;
562566
563567 /** The list of warnings that have been found while parsing. */
Original file line number Diff line number Diff line change @@ -369,9 +369,9 @@ class ParseResult
369369 # The list of magic comments that were encountered during parsing.
370370 attr_reader :magic_comments
371371
372- # An optional location that represents the location of the content after the
373- # __END__ marker . This content is loaded into the DATA constant when the
374- # file being parsed is the main file being executed.
372+ # An optional location that represents the location of the __END__ marker
373+ # and the rest of the content of the file . This content is loaded into the
374+ # DATA constant when the file being parsed is the main file being executed.
375375 attr_reader :data_loc
376376
377377 # The list of errors that were generated during parsing.
You can’t perform that action at this time.
0 commit comments