summaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-23 15:53:12 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2019-11-23 15:53:12 -0500
commitc5df45a0721c75788cbdfe89992fdc97f1d47c34 (patch)
tree844625ca6ed622baed2b14dc3ccb99afeababa3c /src/gram.y
parent35f696e8c51b3fa6b8f6f2e8baa038ae8f77bc2d (diff)
an error in the action for warp-to-ring would produce two error messages
because the case lacked a break-statement Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gram.y b/src/gram.y
index d55ae91..6c4f4ea 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -611,6 +611,7 @@ action : FKEYWORD { $$ = $1; }
Action);
$$ = F_NOP;
}
+ break;
case F_WARPTOSCREEN:
if (!CheckWarpScreenArg (Action)) {
twmrc_error_prefix();
@@ -708,6 +709,7 @@ RemoveDQuote(char *str)
goto hex;
else
--i;
+ /* FALLTHRU */
case '1': case '2': case '3':
case '4': case '5': case '6': case '7':
n = 0;