if (!parse_format_specifier (lexer, &f))
goto done;
- char *error = fmt_check_output__ (&f);
+ char *error = fmt_check_output__ (f);
if (error)
{
lex_next_error (lexer, -1, -1, "%s", error);
char str[FMT_STRING_LEN_MAX + 1];
lex_next_error (lexer, -1, -1,
_("Format type %s may not be used with a numeric "
- "variable."), fmt_to_string (&f, str));
+ "variable."), fmt_to_string (f, str));
goto done;
}
lex_ofs_error (lexer, vars_start, vars_end,
_("There is already a variable named %s."), v[i]);
else
- var_set_both_formats (new_var, &f);
+ var_set_both_formats (new_var, f);
}
ok = true;
|| !parse_format_specifier (lexer, &f))
goto done;
- char *error = fmt_check_type_compat__ (&f, NULL, VAL_STRING);
+ char *error = fmt_check_type_compat__ (f, NULL, VAL_STRING);
if (!error)
- error = fmt_check_output__ (&f);
+ error = fmt_check_output__ (f);
if (error)
{
lex_next_error (lexer, -1, -1, "%s", error);
goto done;
/* Create each variable. */
- int width = fmt_var_width (&f);
+ int width = fmt_var_width (f);
for (size_t i = 0; i < nv; i++)
{
struct variable *new_var = dict_create_var (dataset_dict (ds), v[i],
lex_ofs_error (lexer, vars_start, vars_end,
_("There is already a variable named %s."), v[i]);
else
- var_set_both_formats (new_var, &f);
+ var_set_both_formats (new_var, f);
}
ok = true;