projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Error message needs a period at end of sentence.
[pspp]
/
src
/
language
/
dictionary
/
formats.c
diff --git
a/src/language/dictionary/formats.c
b/src/language/dictionary/formats.c
index c325b4082e40a897980d123217e0fcf4323aa3a9..4bc6e3f47767335bba767099bc38a76be1d85c8e 100644
(file)
--- a/
src/language/dictionary/formats.c
+++ b/
src/language/dictionary/formats.c
@@
-18,15
+18,20
@@
02110-1301, USA. */
#include <config.h>
02110-1301, USA. */
#include <config.h>
+
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+
+#include <data/procedure.h>
+#include <data/variable.h>
#include <language/command.h>
#include <language/command.h>
-#include <l
ibpspp/message
.h>
+#include <l
anguage/lexer/format-parser
.h>
#include <language/lexer/lexer.h>
#include <language/lexer/lexer.h>
+#include <language/lexer/variable-parser.h>
+#include <libpspp/message.h>
#include <libpspp/misc.h>
#include <libpspp/str.h>
#include <libpspp/misc.h>
#include <libpspp/str.h>
-#include <data/variable.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-84,10
+89,10
@@
internal_cmd_formats (int which)
if (!lex_match ('('))
{
if (!lex_match ('('))
{
- msg (SE, _("`(' expected after variable list"));
+ msg (SE, _("`(' expected after variable list
.
"));
goto fail;
}
goto fail;
}
- if (!parse_format_specifier (&f
, 0
)
+ if (!parse_format_specifier (&f)
|| !check_output_specifier (&f, true)
|| !check_specifier_type (&f, NUMERIC, true))
goto fail;
|| !check_output_specifier (&f, true)
|| !check_specifier_type (&f, NUMERIC, true))
goto fail;