Patch #6262. New developers guide and resulting fixes and cleanups.
[pspp-builds.git] / src / language / dictionary / formats.c
index 3be32e76c62f8ed452c5630f29e582e07376816c..d18606a5ce2eda8e4d9508e406e7170f7c3d9231 100644 (file)
@@ -91,7 +91,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, ')'))