X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTree.cpp;h=7d0c5e3c4d47aeffbaef88030f4a7e7d0e2a3293;hb=efe894650813a19a0e1408eb5807e59f037afc3b;hp=b5e53a78f0b2e4e8c4ce546c6251cbbcd267d21c;hpb=1c3300373a43062be9bb8d23faf3c8446f9aa6c5;p=SXSI%2FXMLTree.git diff --git a/XMLTree.cpp b/XMLTree.cpp index b5e53a7..7d0c5e3 100644 --- a/XMLTree.cpp +++ b/XMLTree.cpp @@ -580,8 +580,6 @@ int XMLTree::OpenDocument(bool empty_texts, int sample_rate_text) fprintf(stderr, "Error: not enough memory\n"); return NULLT; } - setbit(par_aux,npar,OP); // marks a new opening parenthesis for the tree root - npar++; tags_aux = (TagType *) malloc(sizeof(TagType)); if (!tags_aux) { @@ -621,8 +619,6 @@ int XMLTree::CloseDocument() fprintf(stderr, "Error: not enough memory\n"); return NULLT; } - setbit(par_aux,npar,CP); - npar++; // creates the data structure for the tree topology Par = (bp *)malloc(sizeof(bp));