From c909f7c76d07886a67f511a11baa510fd3c5fb3f Mon Sep 17 00:00:00 2001 From: redpony Date: Thu, 1 Jul 2010 23:01:03 +0000 Subject: filt typo that makes filtering too permissive git-svn-id: https://ws10smt.googlecode.com/svn/trunk@95 ec762483-ff6d-05da-a07a-a48fb63a330f --- extools/filter_grammar.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3