output: Make errors, warnings, and notes into a new "message_item".
[pspp-builds.git] / src / language / command.c
index 803b5398888dec3c739c748afa8c13059d272ec3..448fae7ea803463f11a54edbec50a23c816875a4 100644 (file)
@@ -224,9 +224,7 @@ do_parse_command (struct lexer *lexer,
   else
     {
       /* Execute command. */
-      msg_set_command_name (command->name);
       result = command->function (lexer, ds);
-      msg_set_command_name (NULL);
     }
 
   assert (cmd_result_is_valid (result));