lib/antelope/ace/grammar/productions.rb in antelope-0.1.2 vs lib/antelope/ace/grammar/productions.rb in antelope-0.1.3

- old
+ new

@@ -67,9 +67,13 @@ items.select(&:terminal?).last else find_token(rule[:prec]) end + unless rule[:prec].empty? + puts "PREC, #{prec.inspect}" + end + prec = precedence_for(prec) Production.new(Token::Nonterminal.new(left), items, rule[:block], prec, id + 1) end