gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit 2b97f0c025e84abb6b49df242bade511a24e19b9
parent 01fc315f45395d60a11d852a241739070b00ee70
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed,  6 Jan 2021 01:49:12 -0800

Add warning about variables in command.c

Diffstat:
Mcommand.c | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/command.c b/command.c @@ -24,6 +24,15 @@ #include "gawk.h" #include "util.h" +/* + * NOTE: The second and last parameters of the commands should at + * every level (of pointers) be treated as immutable. + * + * TODO: Figure out why `char **` -> `char const **` and the like + * causes warnings and, if possible, make the second and last + * parameters of commands truely immutable. + */ + #define LOCAL /* functions local to this file */ char **