data-parser: Use data-file error types for data-file errors.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 24 Nov 2012 23:51:33 +0000 (15:51 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 24 Nov 2012 23:51:33 +0000 (15:51 -0800)
commit00175c601a93d7adba981851860fdf9d72ec9119
tree31981258e92b3703c44626dbdd1bcde721675399
parent55418b678b801a77c7e43eec3dcf2d6c890c80d1
data-parser: Use data-file error types for data-file errors.

The SW error type that these calls to msg() used before this command
include the name of the executing command in the error message.  This can
be confusing because the executing command may not have any connection to
the command that said to read the data file.  This commit changes these
error types to DW, which is intended for errors in a data file (and omits
the command name).

Bug #26517.
src/language/data-io/data-parser.c
tests/language/data-io/data-list.at
tests/language/stats/crosstabs.at
tests/language/stats/rank.at