{
ALIGN_LEFT = 0,
ALIGN_RIGHT = 1,
- ALIGN_CENTRE = 2
+ ALIGN_CENTRE = 2,
+ n_ALIGN
};
{
MEASURE_NOMINAL=1,
MEASURE_ORDINAL=2,
- MEASURE_SCALE=3
+ MEASURE_SCALE=3,
+ n_MEASURES
};
+bool measure_is_valid(enum measure m);
+bool alignment_is_valid(enum alignment a);
/* Descriptions of all the display formats above. */
/* Common formats. */
extern const struct fmt_spec f8_2; /* F8.2. */
-int parse_format_specifier (struct fmt_spec *input, enum fmt_parse_flags);
-int parse_format_specifier_name (const char **cp, enum fmt_parse_flags);
int check_input_specifier (const struct fmt_spec *spec, int emit_error);
int check_output_specifier (const struct fmt_spec *spec, int emit_error);
bool check_specifier_type (const struct fmt_spec *, int type, bool emit_error);