command.def: Disallow DATASET commands inside INPUT PROGRAM, FILE TYPE.
[pspp] / src / language / dictionary / numeric.c
index c88d514345c9d2986364553dfcabc4aff19c9b43..1a81e0e494ceb9300e468fc3520768d46212d8be 100644 (file)
@@ -18,8 +18,8 @@
 
 #include <stdlib.h>
 
+#include "data/dataset.h"
 #include "data/dictionary.h"
-#include "data/procedure.h"
 #include "data/variable.h"
 #include "data/format.h"
 #include "language/command.h"
@@ -72,7 +72,7 @@ cmd_numeric (struct lexer *lexer, struct dataset *ds)
 
          if (!lex_match (lexer, T_RPAREN))
            {
-             msg (SE, _("`)' expected after output format."));
+              lex_error_expecting (lexer, "`)'", NULL_SENTINEL);
              goto fail;
            }
        }