lib/antelope/generation/tableizer.rb in antelope-0.1.1 vs lib/antelope/generation/tableizer.rb in antelope-0.1.2

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: utf-8 + module Antelope module Generation # Constructs the table required for the parser. class Tableizer @@ -94,11 +96,10 @@ result = @rules[rule_part[1]].precedence <=> terminal case result when 0 - p v, terminal, @rules[rule_part[1]].precedence - raise UnresolvableConflictError, + $stderr.puts \ "Could not determine move for #{on} in state #{state}" when 1 @table[state][on] = rule_part when -1 @table[state][on] = state_part