RANK: Issue syntax error in case where it was omitted before.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 3 Jan 2016 04:42:41 +0000 (20:42 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 3 Jan 2016 04:42:41 +0000 (20:42 -0800)
Bug #46783.

src/language/stats/rank.c

index cef51df08c69453055420bf80e2e57eafbd25bbe..dd3bea12832cf11887e28983932369454c0a838b 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc
+   Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Free Software Foundation, Inc
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -304,6 +304,7 @@ parse_into (struct lexer *lexer, struct rank *cmd,
     }
   else
     {
+      lex_error (lexer, NULL);
       return false;
     }