lexer: Change the functions for retrieving token strings.
[pspp-builds.git] / src / language / stats / crosstabs.q
index 0e7b3daecb01ce1ddc3c0e70fc45e9f39c79af3c..02cd4deb980e6d2e627c696b1139a82476b1bd95 100644 (file)
@@ -381,7 +381,7 @@ crs_custom_tables (struct lexer *lexer, struct dataset *ds,
   /* Ensure that this is a TABLES subcommand. */
   if (!lex_match_id (lexer, "TABLES")
       && (lex_token (lexer) != T_ID ||
-         dict_lookup_var (dataset_dict (ds), lex_tokid (lexer)) == NULL)
+         dict_lookup_var (dataset_dict (ds), lex_tokcstr (lexer)) == NULL)
       && lex_token (lexer) != T_ALL)
     return 2;
   lex_match (lexer, T_EQUALS);