Browse files

use fileno, lineno arguments for instance_eval

  • Loading branch information...
1 parent fc3e07d commit 4646cea944b74cafc94196969dd5a6d6de7ad89d @riffraff committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/parsely.rb
View
2 lib/parsely.rb
@@ -94,7 +94,7 @@ def self.cmd(&block)
Expression = Struct.new :code, :items do
def process(pb)
- result = pb.instance_eval(code)
+ result = pb.instance_eval(code, __FILE__, __LINE__+1)
end
def to_s
code.to_s

0 comments on commit 4646cea

Please sign in to comment.