Module Name: src Committed By: rillig Date: Sun Feb 13 12:20:10 UTC 2022
Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c Log Message: indent: replace bitmasking code with struct The struct directly represents the properties of a pair of parentheses, without forcing the human reader to decode any bitset. This makes it easier to find the remaining bugs in the heuristic for determining the kind of parentheses. No functional change outside debug mode. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/usr.bin/indent/indent.c cvs rdiff -u -r1.109 -r1.110 src/usr.bin/indent/indent.h cvs rdiff -u -r1.144 -r1.145 src/usr.bin/indent/io.c cvs rdiff -u -r1.170 -r1.171 src/usr.bin/indent/lexi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.