diff options
-rw-r--r-- | extools/filter_grammar.cc | 2 |
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; } } |