/[pspp]/pspp/src/data-list.c
ViewVC logotype

Diff of /pspp/src/data-list.c

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

revision 1.39 by blp, Sun Jul 31 21:42:46 2005 UTC revision 1.40 by blp, Mon Oct 24 02:51:32 2005 UTC
# Line 317  struct fmt_list Line 317  struct fmt_list
317  struct fixed_parsing_state  struct fixed_parsing_state
318    {    {
319      char **name;                /* Variable names. */      char **name;                /* Variable names. */
320      int name_cnt;               /* Number of names. */      size_t name_cnt;            /* Number of names. */
321    
322      int recno;                  /* Index of current record. */      int recno;                  /* Index of current record. */
323      int sc;                     /* 1-based column number of starting column for      int sc;                     /* 1-based column number of starting column for
# Line 337  static int Line 337  static int
337  parse_fixed (struct data_list_pgm *dls)  parse_fixed (struct data_list_pgm *dls)
338  {  {
339    struct fixed_parsing_state fx;    struct fixed_parsing_state fx;
340    int i;    size_t i;
341    
342    fx.recno = 0;    fx.recno = 0;
343    fx.sc = 1;    fx.sc = 1;
# Line 828  parse_free (struct dls_var_spec **first, Line 828  parse_free (struct dls_var_spec **first,
828      {      {
829        struct fmt_spec input, output;        struct fmt_spec input, output;
830        char **name;        char **name;
831        int name_cnt;        size_t name_cnt;
832        int width;        int width;
833        int i;        size_t i;
834    
835        if (!parse_DATA_LIST_vars (&name, &name_cnt, PV_NONE))        if (!parse_DATA_LIST_vars (&name, &name_cnt, PV_NONE))
836          return 0;          return 0;
# Line 1722  static int Line 1722  static int
1722  parse_repeating_data (struct dls_var_spec **first, struct dls_var_spec **last)  parse_repeating_data (struct dls_var_spec **first, struct dls_var_spec **last)
1723  {  {
1724    struct fixed_parsing_state fx;    struct fixed_parsing_state fx;
1725    int i;    size_t i;
1726    
1727    fx.recno = 0;    fx.recno = 0;
1728    fx.sc = 1;    fx.sc = 1;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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