[LTP] [PATCH 2/3] lib: Add generic boolean expression parser and eval

Richard Palethorpe rpalethorpe@suse.de
Wed Oct 21 18:36:43 CEST 2020


Hello,

> Cyril Hrubis <chrubis@suse.cz> writes:
>> +
>> +enum tst_op {
>> +	TST_OP_NOT,
>> +	TST_OP_AND,
>> +	TST_OP_OR,
>> +	TST_OP_VAR,
>> +	/* Used only internally */
>> +	TST_OP_LPAR,
>> +	TST_OP_RPAR,
>> +};
>> +
>> +struct tst_expr {
>> +	enum tst_op op;
>> +	struct tst_expr *next;
>> +	char *err;
>> +	void *priv;
>
> I'm not sure if this is used?

I see it, ignore this.
-- 
Thank you,
Richard.


More information about the ltp mailing list