diff options
author | Adrian Thurston <adrian.thurston@esentire.com> | 2013-05-11 16:02:00 +0000 |
---|---|---|
committer | Adrian Thurston <adrian.thurston@esentire.com> | 2013-05-11 16:02:00 +0000 |
commit | 1804b791b0192641c20c74b66125a4023f7bb99c (patch) | |
tree | 1a22fc307e8550152682fee30d95c3275106bfb9 | |
parent | 7d42d7809a261a9c87aced036319155bc58e7db8 (diff) | |
download | colm-1804b791b0192641c20c74b66125a4023f7bb99c.tar.gz |
copy prodNum in real tree copy
-rw-r--r-- | colm/tree.c | 1 |
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; |