summaryrefslogtreecommitdiff
path: root/hg.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-07 12:31:02 +0200
committerPatrick Simianer <p@simianer.de>2014-06-07 12:31:02 +0200
commit1298b37784247d6de486814838b07ddcf69cd970 (patch)
treed6626351e36518b9e14d557bbcec2ac29235c59e /hg.rb
parent24e296e97c32fdf6c3b7fd5ecb5596165d4dad14 (diff)
fix reordering
Diffstat (limited to 'hg.rb')
-rw-r--r--hg.rb2
1 files changed, 1 insertions, 1 deletions
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