projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completely rewrite src/data/format.[ch], to achieve better
[pspp-builds.git]
/
src
/
language
/
dictionary
/
formats.c
diff --git
a/src/language/dictionary/formats.c
b/src/language/dictionary/formats.c
index 995ee3fb0d9b427e61985114f920241634f31a61..384e45a9d75360881a12cbc08f2f38164bc61b5d 100644
(file)
--- a/
src/language/dictionary/formats.c
+++ b/
src/language/dictionary/formats.c
@@
-1,5
+1,5
@@
/* PSPP - computes sample statistics.
/* PSPP - computes sample statistics.
- Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000
, 2006
Free Software Foundation, Inc.
Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
@@
-93,8
+93,8
@@
internal_cmd_formats (struct dataset *ds, int which)
goto fail;
}
if (!parse_format_specifier (&f)
goto fail;
}
if (!parse_format_specifier (&f)
- || !
check_output_specifier (&f, true
)
- || !
check_specifier_type (&f, NUMERIC, true
))
+ || !
fmt_check_output (&f
)
+ || !
fmt_check_type_compat (&f, NUMERIC
))
goto fail;
if (!lex_match (')'))
goto fail;
if (!lex_match (')'))