3 ms·
Using character constants for denoting one-character tokens is a time-honored tradition that everyone understands. E.g. GNU Awk: http://git.savannah.gnu.org/c
by kazinator 5y ago
Using character constants for denoting one-character tokens is a time-honored tradition that everyone understands.
E.g. GNU Awk:
http://git.savannah.gnu.org/cgit/gawk.git/tree/awkgram.y?h=gawk-5.1.0#n1774 http://git.savannah.gnu.org/cgit/gawk.git/tree/awkgram.y?h=g...
This is readable; it says "I am just what I look like: a terminal symbol corresponding to the actual +".