HomeFreeBSD

libdtrace: Stop relying on lex compatibility

Description

libdtrace: Stop relying on lex compatibility

It does not appear to be required, and as of commit 6b7e592c215f
("lex: Do not let input() return 0 when end-of-file is reached") it
causes input to return 0 instead of EOF when end-of-input is reached.

Approved by: re (gjb)
PR: 253440
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 8ba333e02eaa59337a4e1d5534d4e894344c8226)
(cherry picked from commit af80731179386cf019463e392370b6478a714aea)

Details

Provenance
markjAuthored on Feb 17 2021, 3:49 PM
Parents
rG4e3fa977a14f: lex: Do not let input() return 0 when end-of-file is reached
Branches
Unknown
Tags
Unknown