Module Name: src Committed By: rillig Date: Tue Jan 5 23:50:29 UTC 2021
Modified Files: src/usr.bin/xlint/lint1: Makefile op.h ops.def Added Files: src/usr.bin/xlint/lint1: ops.c Removed Files: src/usr.bin/xlint/lint1: Makefile.ops-c Makefile.ops-h mkops Log Message: lint: clean up generation of the operator tables Instead of running a shell program that runs an AWK program that generates the two files ops.c and ops.h, just define the operator tables once in ops.def and use these definitions flexibly in ops.c and op.h. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/usr.bin/xlint/lint1/Makefile cvs rdiff -u -r1.3 -r0 src/usr.bin/xlint/lint1/Makefile.ops-c \ src/usr.bin/xlint/lint1/Makefile.ops-h cvs rdiff -u -r1.13 -r0 src/usr.bin/xlint/lint1/mkops cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/op.h cvs rdiff -u -r0 -r1.1 src/usr.bin/xlint/lint1/ops.c cvs rdiff -u -r1.6 -r1.7 src/usr.bin/xlint/lint1/ops.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.