projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added automake.mk files in src/language
[pspp]
/
src
/
split-file.c
diff --git
a/src/split-file.c
b/src/split-file.c
index 6eba150b9928032db393430dbcd0c9083a4e0fda..c9e144f9050d5041876f06764690f4be1333696b 100644
(file)
--- a/
src/split-file.c
+++ b/
src/split-file.c
@@
-14,13
+14,14
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
#include <config.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
+#include "dictionary.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
@@
-34,8
+35,11
@@
cmd_split_file (void)
else
{
struct variable **v;
else
{
struct variable **v;
-
in
t n;
+
size_
t n;
+ /* For now, ignore SEPARATE and LAYERED. */
+ lex_match_id ("SEPARATE") || lex_match_id ("LAYERED");
+
lex_match (T_BY);
if (!parse_variables (default_dict, &v, &n, PV_NO_DUPLICATE))
return CMD_FAILURE;
lex_match (T_BY);
if (!parse_variables (default_dict, &v, &n, PV_NO_DUPLICATE))
return CMD_FAILURE;