Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Sat Oct 30 22:36:07 UTC 2021

Modified Files:
        src/tests/usr.bin/indent: token_binary_op.c token_comment.c
        src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c

Log Message:
indent: rename prev_newline and prev_col_1 to curr

These two flags describe the token that is currently processed.

In process_binary_op, curr_newline can never be true since newline is
not a binary operator, so remove that condition.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/indent/token_binary_op.c
cvs rdiff -u -r1.14 -r1.15 src/tests/usr.bin/indent/token_comment.c
cvs rdiff -u -r1.194 -r1.195 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.65 -r1.66 src/usr.bin/indent/indent.h
cvs rdiff -u -r1.116 -r1.117 src/usr.bin/indent/lexi.c
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/indent/pr_comment.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