"Adam Shelly" <adam.shelly / gmail.com> writes: > I should know better than to try to cleanup my code, and then submit > it without running it first. > > This line: >> tok = Token.new(phrase,term.precedence) > should read > term = Term.new(phrase, term.precedence) Even with that cleanup, it doesn't seem to work: esau:/tmp$ ruby asrq148.rb '2 3 - 5 +' + esau:/tmp$ ruby asrq148.rb '2 3 -' - -- s=%q( Daniel Martin -- martin / snowplow.org puts "s=%q(#{s})",s.to_a.last ) puts "s=%q(#{s})",s.to_a.last