Continue reforming error message support. In this phase, rename
[pspp-builds.git] / src / language / command.c
index a85547caa00dda44d9a4c283b20304bfac03b3ba..c9e93cc9ed258ee25125cdd7703fed937f909832 100644 (file)
@@ -241,10 +241,10 @@ cmd_parse (void)
     int result;
     
     /* Call the command dispatcher. */
-    err_set_command_name (cp->name);
+    msg_set_command_name (cp->name);
     tab_set_command_name (cp->name);
     result = cp->func ();
-    err_set_command_name (NULL);
+    msg_set_command_name (NULL);
     tab_set_command_name (NULL);
     
     /* Perform the state transition if the command completed