Correct a minstake in mm2ep-depend

This commit is contained in:
Roguelearg 2017-09-18 15:30:33 +02:00
parent 033d94dfe1
commit 329822d1a3

View file

@ -30,7 +30,7 @@ module Mm2ep
puts "EVAL: #{token.to_s}" puts "EVAL: #{token.to_s}"
parser.check_grammar line, token parser.check_grammar line, token
exit 1 unless token.errors.empty? || token.nil? exit 1 unless !token.nil? && token.errors.empty?
puts "RESULT: #{token.compute}" puts "RESULT: #{token.compute}"