X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=a90f46e8b8efe6f4e4ce9f7efa9ca2b27572f450;hb=9105b67fe006fe41c044e3659325594a52d0c899;hp=34599e6b22463195d1e661611b5f9e6d3a9cf141;hpb=888d0f91d57e0c3c5a4206c30ac71eb87bf44227;p=pspp diff --git a/src/language/dictionary/formats.c b/src/language/dictionary/formats.c index 34599e6b22..a90f46e8b8 100644 --- a/src/language/dictionary/formats.c +++ b/src/language/dictionary/formats.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -94,7 +93,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, ')'))