/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to parse/tools.d

  • Committer: Suren A. Chilingaryan
  • Date: 2009-10-01 15:56:11 UTC
  • Revision ID: csa@dside.dyndns.org-20091001155611-9g3f1yad2w195t4g
Implement DOM walking mode for parsing benchmark in fast parsers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
module tools;
2
2
 
 
3
const MAX_LEVELS = 127;
 
4
 
3
5
/* Depend on bitness ulong always 64bits in D, 
4
6
for C in Win64 and 32 bit systems it is 32 bits */
5
7
struct TestData {
12
14
}
13
15
 
14
16
extern (C) int Test(int argc, char **arg);
 
17
extern (C) int get_walk_mode();
 
18
extern (C) double get_value(char *str);
15
19
 
16
20
void DTest(char[][] args)
17
21
{