diff options
Diffstat (limited to 'src/piraha/Lookup.cc')
-rw-r--r-- | src/piraha/Lookup.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/piraha/Lookup.cc b/src/piraha/Lookup.cc index d2394c2a..3b442864 100644 --- a/src/piraha/Lookup.cc +++ b/src/piraha/Lookup.cc @@ -23,6 +23,14 @@ bool Lookup::match(Matcher *m) { m->inrule = save_name; int e = m->pos; if(b) { + /* + if(capture) { + std::cout << "Matched: {" << name << "}={"; + for(int i=s;i<e;i++) + insertc(std::cout,m->input[i]); + std::cout << "}" << std::endl; + } + */ smart_ptr<Group> g = new Group(name,m->input,s,e,m->children); if(capture) chSave.push_back(g); |