Encapsulated the static data of procedure.[ch] into a single object, to be
[pspp-builds.git] / src / language / dictionary / formats.c
index 4bc6e3f47767335bba767099bc38a76be1d85c8e..5e1bd7d407fd68e100e0f7b98cf2c44e22a80395 100644 (file)
@@ -83,7 +83,7 @@ internal_cmd_formats (int which)
       if (token == '.')
        break;
 
-      if (!parse_variables (default_dict, &v, &cv, PV_NUMERIC))
+      if (!parse_variables (dataset_dict (current_dataset), &v, &cv, PV_NUMERIC))
        return CMD_FAILURE;
       type = v[0]->type;