Implement 'workspace back_and_forth' (Patch by Michael Walle)

This commit is contained in:
Michael Stapelberg
2011-10-17 23:17:56 +01:00
parent c3a18104cd
commit 178be03fa6
8 changed files with 101 additions and 4 deletions

View 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);