lib/mustermann/ast/boundaries.rb in mustermann-1.0.0.beta2 vs lib/mustermann/ast/boundaries.rb in mustermann-1.0.0

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true require 'mustermann/ast/translator' module Mustermann module AST # Make sure #start and #stop is set on every node and within its parents #start and #stop. @@ -39,6 +40,6 @@ node.stop = node.start + node.min_size if node.stop.nil? or node.stop < node.start node.stop = stop if node.stop > stop end end end -end \ No newline at end of file +end