summaryrefslogtreecommitdiff
path: root/hg.rb
diff options
context:
space:
mode:
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