X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fnumeric.c;h=71de3d8770ef1bc1e9f5085d96acc534bb641bbd;hb=8e018d25310cb53e5339b46e95f0abe02db83782;hp=82b58c0240f633a33cfa4da34e1109641606ebbc;hpb=b13f17becf74e4335c7e3206e4347cac07b38c56;p=pspp-builds.git diff --git a/src/language/dictionary/numeric.c b/src/language/dictionary/numeric.c index 82b58c02..71de3d87 100644 --- a/src/language/dictionary/numeric.c +++ b/src/language/dictionary/numeric.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -56,7 +57,7 @@ cmd_numeric (void) /* Get the optional format specification. */ if (lex_match ('(')) { - if (!parse_format_specifier (&f, 0)) + if (!parse_format_specifier (&f)) goto fail; if (formats[f.type].cat & FCAT_STRING) { @@ -126,8 +127,7 @@ cmd_string (void) if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE)) return CMD_FAILURE; - if (!lex_force_match ('(') - || !parse_format_specifier (&f, 0)) + if (!lex_force_match ('(') || !parse_format_specifier (&f)) goto fail; if (!(formats[f.type].cat & FCAT_STRING)) {