Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
ec58fa9b
Commit
ec58fa9b
authored
Nov 30, 2000
by
Niels Möller
Browse files
* src/argp/argp-parse.c (calc_sizes): Updated comment.
Rev: src/argp/argp-parse.c:1.10
parent
6d5c3942
Changes
1
Show whitespace changes
Inline
Side-by-side
src/argp/argp-parse.c
View file @
ec58fa9b
...
...
@@ -499,10 +499,9 @@ struct parser_sizes
size_t
num_child_inputs
;
/* Child input slots. */
};
/* For ARGP, increments the NUM_GROUPS field in SZS by the total number of
argp structures descended from it, and the SHORT_LEN & LONG_LEN fields by
the maximum lengths of the resulting merged getopt short options string and
long-options array, respectively. */
/* For ARGP, increments the NUM_GROUPS field in SZS by the total
number of argp structures descended from it, and the SHORT_LEN by
the total number of short options. */
static
void
calc_sizes
(
const
struct
argp
*
argp
,
struct
parser_sizes
*
szs
)
{
...
...
@@ -593,9 +592,6 @@ parser_init (struct parser *parser, const struct argp *argp,
parser
->
state
.
pstate
=
parser
;
parser
->
nextchar
=
NULL
;
#if 0
parser->try_getopt = 1;
#endif
/* Call each parser for the first time, giving it a chance to propagate
values to child parsers. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment