summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-01 23:01:03 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-01 23:01:03 +0000
commitc909f7c76d07886a67f511a11baa510fd3c5fb3f (patch)
tree1df4fef75dec9c561878878b7749fdbbaad66c16
parent6b1b0dcf0bb3a519cb872173c52e27dc156a50bf (diff)
filt typo that makes filtering too permissive
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@95 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--extools/filter_grammar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extools/filter_grammar.cc b/extools/filter_grammar.cc
index 290a77f5..427a8cb1 100644
--- a/extools/filter_grammar.cc
+++ b/extools/filter_grammar.cc
@@ -189,7 +189,7 @@ int main(int argc, char* argv[]){
{
curnode = &root;
} else if (curnode) {
- curnode = root.Extend(cur_key[i]);
+ curnode = curnode->Extend(cur_key[i]);
if (!curnode) break;
}
}