pivot-table: Add more tests for category and dimension borders.
[pspp] / src / data / pc+-file-reader.c
index 72d9fe1d012c3dcdf84a91d8eb803748ccf082e7..5832df8d7f923a264149a069038941b851e87781 100644 (file)
@@ -403,7 +403,7 @@ find_and_delete_var (struct dictionary *dict, const char *name)
     dict_delete_var (dict, var);
 }
 
-/* Decodes the dictionary read from R, saving it into into *DICT.  Character
+/* Decodes the dictionary read from R, saving it into *DICT.  Character
    strings in R are decoded using ENCODING, or an encoding obtained from R if
    ENCODING is null, or the locale encoding if R specifies no encoding.
 
@@ -851,7 +851,7 @@ parse_variable_records (struct pcp_reader *r, struct dictionary *dict,
       if (name[0] == '$')
         name = pool_asprintf (r->pool, "%s_", name + 1);
 
-      if (!dict_id_is_valid (dict, name, false) || name[0] == '#')
+      if (!dict_id_is_valid (dict, name) || name[0] == '#')
         {
           pcp_error (r, rec->pos, _("Invalid variable name `%s'."), name);
           return false;