diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-10-31 06:49:40 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-10-31 21:19:28 +0100 |
commit | 641803df358a2377e078c8c1ea05617bfe83bc1d (patch) | |
tree | acab93fe25a4564134c24680cbf4a57f542a297b /nncmpp.actions.awk | |
parent | eec0706333ecf28898b1879cae5dab791b307cf6 (diff) | |
download | nncmpp-641803df358a2377e078c8c1ea05617bfe83bc1d.tar.gz nncmpp-641803df358a2377e078c8c1ea05617bfe83bc1d.tar.xz nncmpp-641803df358a2377e078c8c1ea05617bfe83bc1d.zip |
Enable user-defined actionsorigin/master
Also fix pclose() handling within Info plugins,
and prevent them from screwing up the terminal with error output
on initialization.
This is still rather crude, but at least it's possible.
Diffstat (limited to 'nncmpp.actions.awk')
-rw-r--r-- | nncmpp.actions.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nncmpp.actions.awk b/nncmpp.actions.awk index b4d7eaf..8cd18e7 100644 --- a/nncmpp.actions.awk +++ b/nncmpp.actions.awk @@ -1,6 +1,6 @@ # nncmpp.actions.awk: produce C code for a list of user actions # -# Copyright (c) 2022, Přemysl Eric Janouch <p@janouch.name> +# Copyright (c) 2022 - 2024, Přemysl Eric Janouch <p@janouch.name> # SPDX-License-Identifier: 0BSD # # Usage: env LC_ALL=C A=0 B=1 awk -f nncmpp.actions.awk \ @@ -91,7 +91,7 @@ END { print "enum action {" for (i in Constants) print "\t" "ACTION_" Constants[i] "," - print "\t" "ACTION_COUNT" + print "\t" "ACTION_USER_0" print "};" print "" print "static const char *g_action_names[] = {" |