sync with OpenBSD parse.y
commitbb27d0d133cd61dc95e337e9d53e611557532338
authorChristian Weisgerber <naddy@mips.inka.de>
Fri, 15 Oct 2021 15:18:30 +0000 (15 15:18 +0000)
committerThomas Adam <thomas@xteddy.org>
Fri, 15 Oct 2021 19:22:03 +0000 (15 20:22 +0100)
treeb9d2503d4c1809ff9ede6dd0d77c304b17431b00
parentd0772de93054323964834281205f7fd52818338d
sync with OpenBSD parse.y

Explicitly cast "char" to "unsigned char" when assigned to "int"
to prevent sign extension from breaking comparions against EOF or
passing invalid arguments to ctype functions.
gotweb/parse.y
libexec/got-read-gotconfig/parse.y