summaryrefslogtreecommitdiff
path: root/src/piraha/Matcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/piraha/Matcher.cc')
-rw-r--r--src/piraha/Matcher.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/piraha/Matcher.cc b/src/piraha/Matcher.cc
index fd1b2355..71fb0550 100644
--- a/src/piraha/Matcher.cc
+++ b/src/piraha/Matcher.cc
@@ -27,11 +27,12 @@ bool Matcher::matchesTo(int match_to_) {
std::cout << g->patterns << std::endl;
}
assert(p.valid());
+ //packrat.clear();
pos = 0;
max_pos = -1;
match_to = match_to_;
err_pos = -1;
- children.clear();
+ children->clear();
bool b = p->match(this);
end_ = pos;
return b;