diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-06 23:08:54 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-06 23:08:54 +0000 |
| commit | 3c4a0e5fa9fb69ad0d6c152e8d20607852fca04e (patch) | |
| tree | 3efebffd241283e41922e1b15e5226f819f0a842 /util | |
| parent | 6d40002093a5d8e665d4f310ea028d22e93e88cb (diff) | |
added the lex source file
Diffstat (limited to 'util')
| -rw-r--r-- | util/epist/epist.l | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/util/epist/epist.l b/util/epist/epist.l new file mode 100644 index 00000000..6e3914cb --- /dev/null +++ b/util/epist/epist.l @@ -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]+ /* */ +%% + |
