X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Flexer%2Fformat-parser.h;h=7ccc595b0724fd1af491d2256456f88128ba70c9;hb=d2a96ae99e49b5264ca68ace469e20fa5e2e605b;hp=981a54854ccb60a7b8d95411d8579f594ca58f71;hpb=8e018d25310cb53e5339b46e95f0abe02db83782;p=pspp diff --git a/src/language/lexer/format-parser.h b/src/language/lexer/format-parser.h index 981a54854c..7ccc595b07 100644 --- a/src/language/lexer/format-parser.h +++ b/src/language/lexer/format-parser.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -18,17 +17,18 @@ 02110-1301, USA. */ #ifndef LANGUAGE_LEXER_FORMAT_PARSER_H -#define LANGUAGE_LEXER_FORMAT_PARSER_H 1 +#define LANGUAGE_LEXER_FORMAT_PARSER_H 1 #include #include -struct fmt_spec; -bool parse_abstract_format_specifier (char type[FMT_TYPE_LEN_MAX + 1], +struct lexer; + +bool parse_abstract_format_specifier (struct lexer *, char type[FMT_TYPE_LEN_MAX + 1], int *width, int *decimals); -bool parse_format_specifier (struct fmt_spec *); -bool parse_format_specifier_name (int *type); +bool parse_format_specifier (struct lexer *, struct fmt_spec *); +bool parse_format_specifier_name (struct lexer *, enum fmt_type *type); #endif /* language/lexer/format-parser.h. */