summaryrefslogtreecommitdiff
path: root/extools
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
commite3aebfc755f7f1ceefe1eafcfff23bee9d08d2f3 (patch)
tree7a5905dd051821787542ebff563f52777fbb917c /extools
parent4c154955fae698ffa631745e460f160e389313f4 (diff)
filt typo that makes filtering too permissive
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@95 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'extools')
-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;
}
}