X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Foneway.q;h=9b45119f8664f1ae948a5bfc838479fa8115f921;hb=48386ee68a5283653435d05a9ea4e449710fd370;hp=7664f607a4e1e06f4e630fe4cfb908fd0aacee9d;hpb=0a20082e28caaaf1122510d992e1c6dce755ad0e;p=pspp-builds.git diff --git a/src/language/stats/oneway.q b/src/language/stats/oneway.q index 7664f607..9b45119f 100644 --- a/src/language/stats/oneway.q +++ b/src/language/stats/oneway.q @@ -71,13 +71,13 @@ static bool bad_weight_warn = true; static struct cmd_oneway cmd; /* The independent variable */ -static struct variable *indep_var; +static const struct variable *indep_var; /* Number of dependent variables */ static size_t n_vars; /* The dependent variables */ -static struct variable **vars; +static const struct variable **vars; /* A hash table containing all the distinct values of the independent @@ -225,7 +225,7 @@ oneway_custom_variables (struct lexer *lexer, && lex_token (lexer) != T_ALL) return 2; - if (!parse_variables (lexer, dict, &vars, &n_vars, + if (!parse_variables_const (lexer, dict, &vars, &n_vars, PV_DUPLICATE | PV_NUMERIC | PV_NO_SCRATCH) ) {