- if (lex_match_id ("OFF"))
- dict_set_filter (default_dict, NULL);
+ struct dictionary *dict = dataset_dict (ds);
+ if (lex_match_id (lexer, "OFF"))
+ dict_set_filter (dict, NULL);
+ else if (lex_token (lexer) == '.')
+ {
+ msg (SW, _("Syntax error expecting OFF or BY. "
+ "Turning off case filtering."));
+ dict_set_filter (dict, NULL);
+ }