summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <adrian.thurston@esentire.com>2013-05-11 16:02:00 +0000
committerAdrian Thurston <thurston@complang.org>2013-09-13 16:00:49 -0400
commitc2cd475699685d7be6bc0b58d6a1208332287d55 (patch)
tree34264565cd3f0be3dcf21e1de6a6dde44a745bfb
parentbb128c9a169b1b9ab1fb5165704ed9df8e694c63 (diff)
downloadcolm-c2cd475699685d7be6bc0b58d6a1208332287d55.tar.gz
copy prodNum in real tree copy
-rw-r--r--colm/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/colm/tree.c b/colm/tree.c
index 3ffd8194..8c705d56 100644
--- a/colm/tree.c
+++ b/colm/tree.c
@@ -801,6 +801,7 @@ Tree *copyRealTree( Program *prg, Tree *tree, Kid *oldNextDown, Kid **newNextDow
newTree->id = tree->id;
newTree->tokdata = stringCopy( prg, tree->tokdata );
+ newTree->prodNum = tree->prodNum;
/* Copy the child list. Start with ignores, then the list. */
Kid *child = tree->child, *last = 0;