Finish converting struct variable to an opaque type. In this
[pspp-builds.git] / src / language / dictionary / formats.c
index 34599e6b22463195d1e661611b5f9e6d3a9cf141..b7fa47b82b54a5f9ff372a9a5918f76605dd1099 100644 (file)
@@ -94,7 +94,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, NUMERIC))
+          || !fmt_check_type_compat (&f, VAR_NUMERIC))
        goto fail;
 
       if (!lex_match (lexer, ')'))