projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Restored the buggy jumping
[SXSI/xpathcomp.git]
/
OCamlDriver.cpp
diff --git
a/OCamlDriver.cpp
b/OCamlDriver.cpp
index
a5e47f8
..
0e3af12
100644
(file)
--- a/
OCamlDriver.cpp
+++ b/
OCamlDriver.cpp
@@
-786,7
+786,7
@@
extern "C" value caml_benchmark_jump(value tree,value tag){
treeNode root = XMLTREE(tree)->FirstChild(0);
root = XMLTREE(tree)->FirstChild(root);
count = iterjump(XMLTREE(tree), root , Int_val(tag),0);
- return Val_
unit
;
+ return Val_
int(count)
;
}
int iterfcns(XMLTree* tree, treeNode node){