added the lex source file
This commit is contained in:
parent
6d40002093
commit
3c4a0e5fa9
1 changed files with 64 additions and 0 deletions
64
util/epist/epist.l
Normal file
64
util/epist/epist.l
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
%{
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "yacc_parser.hh"
|
||||||
|
%}
|
||||||
|
|
||||||
|
%%
|
||||||
|
|
||||||
|
\{ return OBRACE;
|
||||||
|
\} return EBRACE;
|
||||||
|
; return SEMICOLON;
|
||||||
|
- return DASH;
|
||||||
|
noaction |
|
||||||
|
execute |
|
||||||
|
iconify |
|
||||||
|
raise |
|
||||||
|
lower |
|
||||||
|
close |
|
||||||
|
toggleshade |
|
||||||
|
toggleomnipresent |
|
||||||
|
moveWindowUp |
|
||||||
|
moveWindowDown |
|
||||||
|
moveWindowLeft |
|
||||||
|
moveWindowRight |
|
||||||
|
resizeWindowWidth |
|
||||||
|
resizeWindowHeight |
|
||||||
|
toggleMaximizeFull |
|
||||||
|
toggleMaximizeVertical |
|
||||||
|
toggleMaximizeHorizontal |
|
||||||
|
sendToWorkspace |
|
||||||
|
nextWindow |
|
||||||
|
prevWindow |
|
||||||
|
nextWindowOnAllWorkspaces |
|
||||||
|
prevWindowOnAllWorkspaces |
|
||||||
|
nextWindowOnAllScreens |
|
||||||
|
prevWindowOnAllScreens |
|
||||||
|
nextWindowOfClass |
|
||||||
|
prevWindowOfClass |
|
||||||
|
nextWindowOfClassOnAllWorkspaces |
|
||||||
|
prevWindowOfClassOnAllWorkspaces |
|
||||||
|
changeWorkspace |
|
||||||
|
nextWorkspace |
|
||||||
|
prevWorkspace |
|
||||||
|
nextScreen |
|
||||||
|
prevScreen |
|
||||||
|
showRootMenu |
|
||||||
|
showWorkspaceMenu |
|
||||||
|
stringChain |
|
||||||
|
keyChain |
|
||||||
|
numberChain |
|
||||||
|
cancel yylval = strdup(yytext); return ACTION;
|
||||||
|
Mod1 |
|
||||||
|
Mod2 |
|
||||||
|
Mod3 |
|
||||||
|
Mod4 |
|
||||||
|
Control |
|
||||||
|
Shift yylval = strdup(yytext); return BINDING;
|
||||||
|
[0-9]+ yylval = strdup(yytext); return NUMBER;
|
||||||
|
\".+\" yylval = strdup(yytext); return QUOTES;
|
||||||
|
[a-zA-Z_0-9]+ yylval = strdup(yytext); return WORD;
|
||||||
|
#.+\n /* ignore */
|
||||||
|
\n /* ignore */
|
||||||
|
[ \t]+ /* */
|
||||||
|
%%
|
||||||
|
|
Loading…
Reference in a new issue