lib/treetop/compiler/node_classes/character_class.rb in treetop-1.6.2 vs lib/treetop/compiler/node_classes/character_class.rb in treetop-1.6.3

- old
+ new

@@ -5,10 +5,10 @@ super builder.if__ "has_terminal?(@regexps[gr = #{grounded_regexp(text_value)}] ||= Regexp.new(gr), :regexp, index)" do if address == 0 || decorated? assign_result "instantiate_node(#{node_class_name},input, index...(index + 1))" - extend_result_with_inline_module parent_expression + extend_result_with_inline_module else assign_lazily_instantiated_node end builder << "@index += 1" # Always one character end