From: Michael Stapelberg Date: Sun, 11 Sep 2011 21:27:31 +0000 (+0100) Subject: finally remove the deprecated 'screen' keyword from cfgparse.l X-Git-Tag: 4.1~165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a41bfba47a1969cb55c7502a91fc4518cc13a506;p=i3%2Fi3 finally remove the deprecated 'screen' keyword from cfgparse.l --- 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; }