[LTP] [PATCH 1/9] metadata: metaparse: Parse operators *, +, and | properly
Cyril Hrubis
chrubis@suse.cz
Thu Dec 19 11:45:14 CET 2024
Hi!
> > +++ b/metadata/metaparse.c
> > @@ -173,6 +173,9 @@ static char *next_token2(FILE *f, char *buf, size_t buf_len, struct data_node *d
> > case '[':
> > case ']':
> > case '#':
> > + case '|':
> > + case '+':
> > + case '*':
>
> I suppose we don't need '/' and '%' right?
I guess that it wouldn't harm, these does not seem to be used now, but
someone may do so in the future.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list