summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-06-21 13:04:21 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2020-06-21 13:04:21 -0400
commit12ae76feef16024a0911b0e61e64266b449599e7 (patch)
treefe3fc0bc2b61ec9ebb9387cde464e2f07ca9a011
parent58a64fd73dd7a840fadebbc81126282cf3979b30 (diff)
quiet a misleading warning in grammar
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--src/gram.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gram.y b/src/gram.y
index 28a4695..8b18038 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -125,11 +125,12 @@ static void yyerror(const char *s);
%token <num> SKEYWORD DKEYWORD JKEYWORD WINDOW_RING WARP_CURSOR ERRORTOKEN
%token <num> NO_STACKMODE
%token <ptr> STRING
+%token <num> error
%type <ptr> string
%type <num> pixmap_list cursor_list color_list save_color_list stmt
%type <num> win_color_list iconm_list win_list icon_list function menu
-%type <num> noarg sarg error narg squeeze color_entry
+%type <num> noarg sarg narg squeeze color_entry
%type <num> action button number signed_number full fullkey
%start twmrc