X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Fformat-parser.c;h=906d0f327168c5508f16859f46c52c3684987334;hb=refs%2Fheads%2Fdev5;hp=2c05335ff984fa711bacba8920f682cb01c358ee;hpb=88f1d611ba3bdb895e7619bf7ab341e4756cd419;p=pspp diff --git a/src/language/lexer/format-parser.c b/src/language/lexer/format-parser.c index 2c05335ff9..906d0f3271 100644 --- a/src/language/lexer/format-parser.c +++ b/src/language/lexer/format-parser.c @@ -16,13 +16,14 @@ #include +#include "language/lexer/format-parser.h" + #include #include #include #include "data/format.h" #include "data/variable.h" -#include "language/lexer/format-parser.h" #include "language/lexer/lexer.h" #include "libpspp/message.h" #include "libpspp/misc.h" @@ -34,7 +35,7 @@ static bool parse_abstract_format_specifier__ (struct lexer *lexer, char type[FMT_TYPE_LEN_MAX + 1], - int *width, int *decimals) + uint16_t *width, uint8_t *decimals) { struct substring s; struct substring type_ss, width_ss, decimals_ss; @@ -90,7 +91,7 @@ error: bool parse_abstract_format_specifier (struct lexer *lexer, char type[FMT_TYPE_LEN_MAX + 1], - int *width, int *decimals) + uint16_t *width, uint8_t *decimals) { bool ok = parse_abstract_format_specifier__ (lexer, type, width, decimals); if (ok)