diff options
author | Ben Pfaff <blp@ovn.org> | 2017-01-19 19:55:41 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-01-20 14:10:32 -0800 |
commit | f1393f6f3469c25d22a7633c7b1fe0e8be94ed3d (patch) | |
tree | ebb4415b9627c21b08121dce93712ddd02079989 /tests | |
parent | 8a41ad8e994c77f48cb321932a262e1f7cf84e19 (diff) | |
download | openvswitch-f1393f6f3469c25d22a7633c7b1fe0e8be94ed3d.tar.gz |
lex: Make lexer_force_match() work for LEX_T_END.
Without this change, lexer_force_match(lex, LEX_T_END) mostly works, except
that in the failure case it emits an error that says "expecting `$'",
which is a surprising error message.
Arguably, lexer_force_end() could be removed entirely, but I don't see a
real problem with the existing arrangement.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Mickey Spiegel <mickeys.dev@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions