X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Fformat-parser.h;h=7ccc595b0724fd1af491d2256456f88128ba70c9;hb=d2a96ae99e49b5264ca68ace469e20fa5e2e605b;hp=d16b2f5bc5fdc771eb382bb3d72a30cb57241aa8;hpb=8acca2de53c1852f38726f70fc6516b34732a79f;p=pspp diff --git a/src/language/lexer/format-parser.h b/src/language/lexer/format-parser.h index d16b2f5bc5..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,15 +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 -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 (enum fmt_type *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. */