/[pspp]/pspp/src/rank.q
ViewVC logotype

Diff of /pspp/src/rank.q

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by blp, Mon Oct 24 02:51:31 2005 UTC revision 1.5 by blp, Wed Oct 26 05:06:14 2005 UTC
# Line 224  parse_rank_function(struct cmd_rank *cmd Line 224  parse_rank_function(struct cmd_rank *cmd
224    int var_count = 0;    int var_count = 0;
225        
226    n_rank_specs++;    n_rank_specs++;
227    rank_specs = xrealloc(rank_specs, n_rank_specs * sizeof *rank_specs);    rank_specs = xnrealloc(rank_specs, n_rank_specs, sizeof *rank_specs);
228    rank_specs[n_rank_specs - 1].rfunc = f;    rank_specs[n_rank_specs - 1].rfunc = f;
229    
230    rank_specs[n_rank_specs - 1].destvars =    rank_specs[n_rank_specs - 1].destvars =
231              xcalloc(sc->crit_cnt ,sizeof (struct variable *));              xcalloc (sc->crit_cnt, sizeof (struct variable *));
232                        
233    if (lex_match_id("INTO"))    if (lex_match_id("INTO"))
234      {      {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26