projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git]
/
src
/
data-in.c
diff --git
a/src/data-in.c
b/src/data-in.c
index 3a15f89612bc5048a1e7d2c13c888e8c98f9d3d5..0c477fa2a162edbccdb21040f4230cf62994b030 100644
(file)
--- a/
src/data-in.c
+++ b/
src/data-in.c
@@
-145,13
+145,13
@@
parse_numeric (struct data_in *i)
if (type != FMT_DOT)
{
if (type != FMT_DOT)
{
- decimal =
set_decimal
;
- grouping =
set_grouping
;
+ decimal =
get_decimal()
;
+ grouping =
get_grouping()
;
}
else
{
}
else
{
- decimal =
set_grouping
;
- grouping =
set_decimal
;
+ decimal =
get_grouping()
;
+ grouping =
get_decimal()
;
}
i->v->f = SYSMIS;
}
i->v->f = SYSMIS;
@@
-1491,7
+1491,7
@@
default_result (struct data_in *i)
if (fmt->cat & FCAT_STRING)
memset (i->v->s, ' ', i->format.w);
else
if (fmt->cat & FCAT_STRING)
memset (i->v->s, ' ', i->format.w);
else
- i->v->f =
set_blanks
;
+ i->v->f =
get_blanks()
;
}
int
}
int
@@
-1529,7
+1529,7
@@
data_in (struct data_in *i)
if (++cp == i->e)
{
if (++cp == i->e)
{
- i->v->f =
set_blanks
;
+ i->v->f =
get_blanks()
;
return 1;
}
}
return 1;
}
}