From a41bfba47a1969cb55c7502a91fc4518cc13a506 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 11 Sep 2011 22:27:31 +0100 Subject: [PATCH] finally remove the deprecated 'screen' keyword from cfgparse.l --- src/cfgparse.l | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/cfgparse.l b/src/cfgparse.l index 12840f26..e5dd29c0 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -106,13 +106,6 @@ bindsym { yy_push_state(BINDSYM_COND); yy_push_state(EAT floating_modifier { BEGIN(INITIAL); return TOKFLOATING_MODIFIER; } workspace { BEGIN(INITIAL); return TOKWORKSPACE; } output { yy_push_state(OUTPUT_COND); yy_push_state(EAT_WHITESPACE); return TOKOUTPUT; } -screen { - /* for compatibility until v3.φ */ - ELOG("Assignments to screens are DEPRECATED and will not work. " \ - "Please replace them with assignments to outputs.\n"); - yy_push_state(OUTPUT_COND); yy_push_state(EAT_WHITESPACE); - return TOKOUTPUT; - } terminal { WS_STRING; return TOKTERMINAL; } font { WS_STRING; return TOKFONT; } assign { yy_push_state(ASSIGN_TARGET_COND); yy_push_state(ASSIGN_COND); return TOKASSIGN; } -- 2.39.5