X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Fformat-parser.h;h=7601bc46b2ff9fd5c226a5985f0743dde066c423;hb=f42cd385428298f9ee9795a3296e32363a9b0baa;hp=ae1f545dbf73e5f38cc56dbb6e487a16d3440a30;hpb=392ab4052e2743f80664a4130b2b4ee5d82af7fe;p=pspp diff --git a/src/language/lexer/format-parser.h b/src/language/lexer/format-parser.h index ae1f545dbf..7601bc46b2 100644 --- a/src/language/lexer/format-parser.h +++ b/src/language/lexer/format-parser.h @@ -19,10 +19,13 @@ #include +#include "data/format.h" + struct lexer; -bool parse_abstract_format_specifier (struct lexer *, char *type, - int *width, int *decimals); +bool parse_abstract_format_specifier (struct lexer *, + char type[FMT_TYPE_LEN_MAX + 1], + uint16_t *width, uint8_t *decimals); enum fmt_type ; struct fmt_spec;