projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use macros from cast.h instead of literal casts
[pspp]
/
src
/
language
/
data-io
/
data-list.c
diff --git
a/src/language/data-io/data-list.c
b/src/language/data-io/data-list.c
index d43af347a701693224980ea18281eaf72d6c0e60..80c9849b55b61c9812551278115756135d920813 100644
(file)
--- a/
src/language/data-io/data-list.c
+++ b/
src/language/data-io/data-list.c
@@
-196,7
+196,7
@@
cmd_data_list (struct lexer *lexer, struct dataset *ds)
if (lex_match_id (lexer, "TAB"))
delim = '\t';
- else if (lex_
token (lexer) == T_STRING
+ else if (lex_
is_string (lexer)
&& ds_length (lex_tokstr (lexer)) == 1)
{
delim = ds_first (lex_tokstr (lexer));