+void lex_index::printVector(xml_tree::tag_t t, vector<int32_t> v){
+ vector<int32_t>::iterator i=v.begin();
+ if (i!=v.end()) {
+ printf("%i-vector: [%i", t, *i);
+ for (++i; i!=v.end(); ++i)
+ printf(",%i", *i);
+ printf("]\n");
+ }
+}
+
+void lex_index::print(){
+ printf("Print called\n");
+ printVector(tag, tagVector);
+}