Make the expression code a little nicer and fix bugs found
[pspp-builds.git] / src / main.c
index 3b7687b2cede0bb7367d99dc3cc2d1153ac0d7bf..987daa8f638a7e1b395a7c87ed3a06726320bcfe 100644 (file)
@@ -166,8 +166,11 @@ handle_error (int code)
       while (token != T_STOP && token != '.')
        lex_get ();
     }
-  else
-    lex_discard_line ();
+  else 
+    {
+      msg (SW, _("The rest of this command has been discarded."));
+      lex_discard_line (); 
+    }
 }