lib/treetop/compiler/node_classes/predicate.rb in treetop-1.2.0 vs lib/treetop/compiler/node_classes/predicate.rb in treetop-1.2.1
- old
+ new
@@ -4,10 +4,10 @@
def compile(address, builder, parent_expression)
super
begin_comment(parent_expression)
use_vars :result, :start_index
obtain_new_subexpression_address
- parent_expression.predicated_expression.compile(subexpression_address, builder)
+ parent_expression.prefixed_expression.compile(subexpression_address, builder)
builder.if__(subexpression_success?) { when_success }
builder.else_ { when_failure }
end_comment(parent_expression)
end
\ No newline at end of file