summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-09-14 20:43:44 +0000
committerrillig <rillig@NetBSD.org>2020-09-14 20:43:44 +0000
commitb6cf9e0918e0a3fc202c1dc98ce715afec39ff65 (patch)
tree42fac21d3a88b3e11e63491d87e2f3b6b2020b00 /usr.bin/make/parse.c
parentbd1e4fd3c42617d7896893cd116aa89d91b68ac8 (diff)
make(1): inline character constants in var.c
This removes a level of indirection, and the macro names were quite similar in appearance as well. The macros may have been used by people whose editors don't recognize C string and character literals when navigating to the corresponding brace or parenthesis. These editors had already been confused before this commit since there are also string literals with unbalanced parentheses, and there are far fewer compensating comments such as /*{*/ or /*)*/ in the code. In fact, the only such comment that is left over was in for.c. This way, there is now a single consistent way of writing these character literals, which is without macros or comments, since that is the simplest form.
Diffstat (limited to 'usr.bin/make/parse.c')
0 files changed, 0 insertions, 0 deletions