projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for reading Gnumeric spreadsheet files.
[pspp-builds.git]
/
src
/
language
/
data-io
/
get.c
diff --git
a/src/language/data-io/get.c
b/src/language/data-io/get.c
index 574656b9d62380a531b46b94f024f0401d3ecdb0..b861aca52ffef7df758d3eabfc506718795081eb 100644
(file)
--- a/
src/language/data-io/get.c
+++ b/
src/language/data-io/get.c
@@
-45,6
+45,8
@@
#include <libpspp/str.h>
#include <libpspp/taint.h>
#include <libpspp/str.h>
#include <libpspp/taint.h>
+#include "get-data.h"
+
#include "xalloc.h"
#include "gettext.h"
#include "xalloc.h"
#include "gettext.h"
@@
-73,6
+75,11
@@
parse_read_command (struct lexer *lexer, struct dataset *ds, enum reader_command
struct dictionary *dict = NULL;
struct case_map *map = NULL;
struct dictionary *dict = NULL;
struct case_map *map = NULL;
+ if ( type == GET_CMD && lex_match_id (lexer, "DATA") )
+ {
+ return parse_get_data_command (lexer, ds);
+ }
+
for (;;)
{
lex_match (lexer, '/');
for (;;)
{
lex_match (lexer, '/');