Improve the way we handle the various parsing "states". Until now
[pspp-builds.git] / src / language / dictionary / variable-label.c
index acf5f054e52359f16ca4a10d67f6348867659461..a663dc9ddb458db614e204f43f01ec11f4148796 100644 (file)
@@ -41,13 +41,13 @@ cmd_variable_labels (void)
       size_t i;
 
       if (!parse_variables (default_dict, &v, &nv, PV_NONE))
-        return CMD_PART_SUCCESS_MAYBE;
+        return CMD_FAILURE;
 
       if (token != T_STRING)
        {
          msg (SE, _("String expected for variable label."));
          free (v);
-         return CMD_PART_SUCCESS_MAYBE;
+         return CMD_FAILURE;
        }
       if (ds_length (&tokstr) > 255)
        {