summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <adrian.thurston@esentire.com>2013-05-11 16:02:00 +0000
committerAdrian Thurston <adrian.thurston@esentire.com>2013-05-11 16:02:00 +0000
commit1804b791b0192641c20c74b66125a4023f7bb99c (patch)
tree1a22fc307e8550152682fee30d95c3275106bfb9
parent7d42d7809a261a9c87aced036319155bc58e7db8 (diff)
downloadcolm-1804b791b0192641c20c74b66125a4023f7bb99c.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;