--- - branch: MAIN date: Sun Feb 13 12:43:26 UTC 2022 files: - new: '1.242' old: '1.241' path: src/usr.bin/indent/indent.c pathrev: src/usr.bin/indent/indent.c@1.242 type: modified - new: '1.111' old: '1.110' path: src/usr.bin/indent/indent.h pathrev: src/usr.bin/indent/indent.h@1.111 type: modified - new: '1.146' old: '1.145' path: src/usr.bin/indent/io.c pathrev: src/usr.bin/indent/io.c@1.146 type: modified - new: '1.172' old: '1.171' path: src/usr.bin/indent/lexi.c pathrev: src/usr.bin/indent/lexi.c@1.172 type: modified id: 20220213T124326Z.39aa35a932e82fb594fb5ad92fb9dcf43011174d log: | indent: rename parser_state.p_l_follow and paren_level The previous variable names were misleading. Paren_level is not the current level of parentheses but the one from the beginning of the current output line. For better accuracy, rename it to line_start_paren_level. P_l_follow is not the level of parentheses that will be active at some point in the future, as the previous name suggested. Instead, it is the level of parentheses right now. For better accuracy, rename it to nparen. This nicely matches its main usage, which is as index to the parser_state.paren array. No binary change. module: src subject: 'CVS commit: src/usr.bin/indent' unixtime: '1644756206' user: rillig