lib/mail/vendor/treetop-1.4.3/examples/lambda_calculus/arithmetic.rb in mail-1.6.0 vs lib/mail/vendor/treetop-1.4.3/examples/lambda_calculus/arithmetic.rb in mail-2.0.3
- old
+ new
@@ -1,9 +1,9 @@
module Arithmetic
include Treetop::Runtime
def root
- @root ||= :expression
+ @root || :expression
end
def _nt_expression
start_index = index
cached = node_cache[:expression][index]