summaryrefslogtreecommitdiff
path: root/lib/prism/parse_result/newlines.rb
diff options
context:
space:
mode:
-rw-r--r--lib/prism/parse_result/newlines.rb6
1 files changed, 5 insertions, 1 deletions
@@ -58,7 +58,11 @@ module Prism
# Walk the tree and mark nodes that are on a new line.
def mark_newlines!
- value.accept(Newlines.new(Array.new(1 + source.offsets.size, false)))
end
end
end