Module Name: src Committed By: rillig Date: Mon May 15 22:35:41 UTC 2023
Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: fix cast detection In process_lparen_or_lbracket, ps.paren[...].maybe_cast was not initialized, which may have been the cause for seemingly random spacing around binary operators. While here, clean up the code by reducing the number of accesses to the parser state. To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285 src/usr.bin/indent/indent.c cvs rdiff -u -r1.170 -r1.171 src/usr.bin/indent/io.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.