diff options
author | Adrian Thurston <thurston@complang.org> | 2013-05-13 23:14:06 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-05-13 23:14:06 +0000 |
commit | 0381aa5bd1808f9c5950adccf96aa78c528874d3 (patch) | |
tree | 065812e39563121a62fe2d27a01cf3fa8a26f00b | |
parent | 884f51d50c0665c919cfd9fbf7dc74d4a1ae2cf0 (diff) | |
download | colm-0381aa5bd1808f9c5950adccf96aa78c528874d3.tar.gz |
load prodNum when consing
-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 8c705d56..c5dc548c 100644 --- a/colm/tree.c +++ b/colm/tree.c @@ -585,6 +585,7 @@ Tree *constructReplacementTree( Kid *kid, Tree **bindings, Program *prg, long pa tree->tokdata = nodes[pat].length == 0 ? 0 : stringAllocPointer( prg, nodes[pat].data, nodes[pat].length ); + tree->prodNum = nodes[pat].prodNum; int objectLength = lelInfo[tree->id].objectLength; |