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 Mar  7 10:42:49 UTC 2021

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

Log Message:
indent: use all headers in all files

This is a prerequisite for converting the token types to an enum instead
of a preprocessor define, since the return type of lexi will become
token_type.  Having the enum will make debugging easier.

There was a single naming collision, which forced the variable in
scan_profile to be renamed.  All other token names are used nowhere
else.

No change to the resulting binary.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/indent/args.c
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/indent/indent.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/indent/indent.h
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/indent/io.c
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/indent/lexi.c
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/indent/parse.c \
    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