A3t
- ::findTag now creates sub nodes.
This commit is contained in:
11
src/A3t.cpp
11
src/A3t.cpp
@@ -853,8 +853,19 @@ void A3t::findTag ()
|
|||||||
{
|
{
|
||||||
(*i)->unTag ("?");
|
(*i)->unTag ("?");
|
||||||
(*i)->tag ("TAG");
|
(*i)->tag ("TAG");
|
||||||
|
(*i)->tag ("EXPANDED");
|
||||||
(*i)->attribute ("sign", sign);
|
(*i)->attribute ("sign", sign);
|
||||||
(*i)->attribute ("tag", tag);
|
(*i)->attribute ("tag", tag);
|
||||||
|
|
||||||
|
Tree* branch = (*i)->addBranch (new Tree ("argTag"));
|
||||||
|
branch->attribute ("value", "tags");
|
||||||
|
|
||||||
|
branch = (*i)->addBranch (new Tree ("argTag"));
|
||||||
|
branch->attribute ("value", (sign == "+" ? "_hastag_" : "_notag_"));
|
||||||
|
branch->tag ("OP");
|
||||||
|
|
||||||
|
branch = (*i)->addBranch (new Tree ("argTag"));
|
||||||
|
branch->attribute ("value", tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user