NetBSD/usr.bin/xlint/lint2
rillig d4904ec87b lint: clean up
In symtab_search, most of the conditions were redundant, so remove them.

In read_byte, using CHAR_MASK was conceptually wrong, as that constant
is from the target platform while the lexical analysis happens on the
host platform.  It was unnecessary as well, as a hypothetical host
platform with 36-bit chars might encode the characters from the basic
source character set as numbers higher than 0x0_0000_00ff.  Since lint
assumes that both the source character set as well as the execution
character set are the same and based on 8-bit bytes, nothing changes.

No functional change.
2023-02-02 22:23:30 +00:00
..
Makefile lint: move xalloc to the only file where it is used 2023-01-13 19:50:00 +00:00
check-msgs.lua
chk.c lint: rename lint2 functions to be more expressive 2023-01-14 08:48:18 +00:00
emit2.c lint: clean up 2023-02-02 22:23:30 +00:00
externs2.h lint: rename lint2 functions to be more expressive 2023-01-14 08:48:18 +00:00
hash.c
lint2.h
main2.c lint: rename lint2 functions to be more expressive 2023-01-14 08:48:18 +00:00
msg.c lint: clean up 2023-02-02 22:23:30 +00:00
read.c lint: clean up messages for internal errors 2023-01-14 09:30:07 +00:00