lexer: Use lex_is_string() more consistently.
[pspp] / src / language / data-io / get.c
index 14fb70a40f542c48250fd77b2a79d5499a3a53bd..cf59c8e0fbadc78f904fe9049d84341c5bf04e60 100644 (file)
@@ -77,7 +77,7 @@ parse_read_command (struct lexer *lexer, struct dataset *ds, enum reader_command
     {
       lex_match (lexer, '/');
 
-      if (lex_match_id (lexer, "FILE") || lex_token (lexer) == T_STRING)
+      if (lex_match_id (lexer, "FILE") || lex_is_string (lexer))
        {
          lex_match (lexer, '=');