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
/
file-handle.q
diff --git
a/src/language/data-io/file-handle.q
b/src/language/data-io/file-handle.q
index 33aa1d168a5c4efce423688b3d8998193b8c7abc..71081b922ac0601835fec8b13a819aa4f2a17dc3 100644
(file)
--- a/
src/language/data-io/file-handle.q
+++ b/
src/language/data-io/file-handle.q
@@
-200,7
+200,7
@@
fh_parse (struct lexer *lexer, enum fh_referent referent_mask)
handle = fh_inline_file ();
else
{
- if (lex_token (lexer) != T_ID &&
lex_token (lexer) != T_STRING
)
+ if (lex_token (lexer) != T_ID &&
!lex_is_string (lexer)
)
{
lex_error (lexer, _("expecting a file name or handle name"));
return NULL;