From 1298b37784247d6de486814838b07ddcf69cd970 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 7 Jun 2014 12:31:02 +0200 Subject: fix reordering --- hg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hg.rb') diff --git a/hg.rb b/hg.rb index 43dbf79..b73d860 100644 --- a/hg.rb +++ b/hg.rb @@ -151,7 +151,7 @@ def HG::derive path, cur, carry j = 0 edge.rule.target.each { |i| if i.class == Grammar::NT - derive path, edge.tails[j], carry + derive path, edge.tails[edge.rule.map[j]], carry j += 1 else carry << i -- cgit v1.2.3