isl_input.c: accept_div: do not push back unexpected tokens
commitf3af45aac59046c9fa5aee22b62fd24b49380a04
authorSven Verdoolaege <sven@cerebras.net>
Wed, 3 Aug 2022 09:34:53 +0000 (3 11:34 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Tue, 20 Dec 2022 11:43:32 +0000 (20 12:43 +0100)
tree7ad719dfa10156b3fee067b2bed8bc23c432b402
parent0022fff08bd778f759986163be08064828b00e6a
isl_input.c: accept_div: do not push back unexpected tokens

There is no point pushing such unexpected tokens back onto the stream.
They can only cause further errors on the same token.
In particular, any parsed token left on the stream in isl_stream_free
will cause a redundant additional error message.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_input.c