]> git.sur5r.net Git - i3/i3/blobdiff - src/cmdparse.l
Implement 'workspace back_and_forth' (Patch by Michael Walle)
[i3/i3] / src / cmdparse.l
index f6b132ca113cd66cb4dd2a5f63d5ddff39415443..6dda34d0ae446078a9c51995f04583cbfdd701b9 100644 (file)
@@ -72,10 +72,11 @@ EOL (\r?\n)
     cmdyycolumn = 1;
 }
 
-    /* the next/prev tokens are here to recognize them *before* handling
-     * strings ('workspace' command) */
+    /* the next/prev/back_and_forth tokens are here to recognize them *before*
+     * handling strings ('workspace' command) */
 next                            { return TOK_NEXT; }
 prev                            { return TOK_PREV; }
+back_and_forth                  { return TOK_BACK_AND_FORTH; }
 
 <WANT_STRING>\"[^\"]+\"         {
                                   BEGIN(INITIAL);