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:           Sat Jan  4 10:28:08 UTC 2025

Modified Files:
        src/usr.bin/indent: debug.c indent.c indent.h io.c parse.c pr_comment.c

Log Message:
indent: make debug output easier readable

The previous format had the values of the parser state on the left side
and the corresponding names on the right side.  While it looked nicely
aligned, it was not suitable for focusing on the actual data.  Replace
this format with the more common "key: value" format.

Use the names of the enum constants in the debug log, instead of the
previous "nice" names that needed one more level of mental translation
and in some cases contained unbalanced punctuation such as '{'.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/usr.bin/indent/debug.c
cvs rdiff -u -r1.392 -r1.393 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.208 -r1.209 src/usr.bin/indent/indent.h
cvs rdiff -u -r1.236 -r1.237 src/usr.bin/indent/io.c
cvs rdiff -u -r1.79 -r1.80 src/usr.bin/indent/parse.c
cvs rdiff -u -r1.173 -r1.174 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