Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/indent



Module Name:    src
Committed By:   rillig
Date:           Sun Feb 13 12:09:19 UTC 2022

Modified Files:
        src/usr.bin/indent: indent.c indent.h lexi.c

Log Message:
indent: change parser_state.cast_mask to 0-based indexing

Having 1-based indexing was completely unexpected, and it didn't match
the 0-based indexing of parser_state.paren_indents.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.108 -r1.109 src/usr.bin/indent/indent.h
cvs rdiff -u -r1.169 -r1.170 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.




Home | Main Index | Thread Index | Old Index