X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvar.h;h=f4930eea0e65b61a279033d6ae4335b03fb6e7c5;hb=4f8599928787c4b9da99caff29b27724c2e3298d;hp=ae81fa8c27a5bd4152517666b81eec0c43438e51;hpb=47106fcdfb1a24d0fff77dc0323c3c4d4a30daa4;p=pspp diff --git a/src/var.h b/src/var.h index ae81fa8c27..f4930eea0e 100644 --- a/src/var.h +++ b/src/var.h @@ -24,7 +24,7 @@ #include #include "config.h" #include - +#include "cat.h" #include "format.h" #include "missing-values.h" @@ -74,6 +74,11 @@ struct variable /* Each command may use these fields as needed. */ void *aux; void (*aux_dtor) (struct variable *); + + /* Values of a categorical variable. Procedures need + vectors with binary entries, so any variable of type ALPHA will + have its values stored here. */ + struct cat_vals *obs_vals; }; /* Variable names. */ @@ -124,10 +129,6 @@ extern struct dictionary *default_dict; /* Transformation state. */ -/* Default file handle for DATA LIST, REREAD, REPEATING DATA - commands. */ -extern struct file_handle *default_handle; - /* PROCESS IF expression. */ extern struct expression *process_if_expr;