projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/data-encoding'
[pspp-builds.git]
/
src
/
data
/
sys-file-reader.c
diff --git
a/src/data/sys-file-reader.c
b/src/data/sys-file-reader.c
index 0f583a12a5005fe360abd8662847039742b9afbb..9978d43a4e58d993649935a9d2580ce1cf4faa2b 100644
(file)
--- a/
src/data/sys-file-reader.c
+++ b/
src/data/sys-file-reader.c
@@
-577,7
+577,7
@@
read_variable_record (struct sfm_reader *r, struct dictionary *dict,
/* Create variable. */
if (width < 0 || width > 255)
/* Create variable. */
if (width < 0 || width > 255)
- sys_error (r, _("Bad
variable width %d."), width
);
+ sys_error (r, _("Bad
width %d for variable %s."), width, name
);
var = dict_create_var (dict, name, width);
if (var == NULL)
sys_error (r,
var = dict_create_var (dict, name, width);
if (var == NULL)
sys_error (r,
@@
-981,11
+981,16
@@
read_machine_float_info (struct sfm_reader *r, size_t size, size_t count)
size, count);
if (sysmis != SYSMIS)
size, count);
if (sysmis != SYSMIS)
- sys_warn (r, _("File specifies unexpected value %g as SYSMIS."), sysmis);
+ sys_warn (r, _("File specifies unexpected value %g as %s."),
+ sysmis, "SYSMIS");
+
if (highest != HIGHEST)
if (highest != HIGHEST)
- sys_warn (r, _("File specifies unexpected value %g as HIGHEST."), highest);
+ sys_warn (r, _("File specifies unexpected value %g as %s."),
+ highest, "HIGHEST");
+
if (lowest != LOWEST)
if (lowest != LOWEST)
- sys_warn (r, _("File specifies unexpected value %g as LOWEST."), lowest);
+ sys_warn (r, _("File specifies unexpected value %g as %s."),
+ lowest, "LOWEST");
}
/* Read record type 7, subtype 11, which specifies how variables
}
/* Read record type 7, subtype 11, which specifies how variables