Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2009-09-17 00:49:31 +0400
committerJohn Langford <jl@hunch.net>2009-09-17 00:49:31 +0400
commit0bda878246f522418bdf71902fa45c8efab9347e (patch)
tree2c31f1b91825cb7e4d12d584ed799e8d10a41659 /parser.h
parent9ffe9acd7d46e12d83d231c9842a79a86d1a82ea (diff)
Still grinding.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index 961e0570..3e6bd0d1 100644
--- a/parser.h
+++ b/parser.h
@@ -8,7 +8,7 @@ embodied in the content of this file are licensed under the BSD
#define SCE
#include "io.h"
-#include "static_data.h"
+#include "global_data.h"
#include "parse_primitives.h"
#include "example.h"
@@ -35,10 +35,11 @@ struct parser {
bool write_cache;
v_array<partial_example> pes;//partial examples
+ v_array<size_t> ids; //unique ids for sources
int label_sock;
int max_fd;
- static_data* global;
+ global_data* global;
};
parser* new_parser(const label_parser* lp);