File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,11 @@ struct pm_parser {
557
557
/** The list of magic comments that have been found while parsing. */
558
558
pm_list_t magic_comment_list ;
559
559
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
+ */
561
565
pm_location_t data_loc ;
562
566
563
567
/** 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
369
369
# The list of magic comments that were encountered during parsing.
370
370
attr_reader :magic_comments
371
371
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.
375
375
attr_reader :data_loc
376
376
377
377
# The list of errors that were generated during parsing.
You can’t perform that action at this time.
0 commit comments