Skip to content

Commit

Permalink
Use instance var instead of self.#{accessor} [smtlaissezfaire]
Browse files Browse the repository at this point in the history
  • Loading branch information
cjheath committed Jul 17, 2009
1 parent 80d7c9a commit 774b062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/treetop/compiler/node_classes/parsing_expression.rb
Expand Up @@ -79,7 +79,7 @@ def extend_result_with_inline_module
end

def reset_index
builder.assign 'self.index', start_index_var
builder.assign '@index', start_index_var
end

def epsilon_node
Expand Down

0 comments on commit 774b062

Please sign in to comment.