X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=640246c9df2a8b86b571b036ae78f05a3bc83535;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=3be32e76c62f8ed452c5630f29e582e07376816c;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/language/dictionary/formats.c b/src/language/dictionary/formats.c index 3be32e76..640246c9 100644 --- a/src/language/dictionary/formats.c +++ b/src/language/dictionary/formats.c @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -91,7 +92,7 @@ internal_cmd_formats (struct lexer *lexer, struct dataset *ds, int which) } if (!parse_format_specifier (lexer, &f) || !fmt_check_output (&f) - || !fmt_check_type_compat (&f, VAR_NUMERIC)) + || !fmt_check_type_compat (&f, VAL_NUMERIC)) goto fail; if (!lex_match (lexer, ')'))