]> Dogcows Code - chaz/openbox/commitdiff
added the lex source file
authorScott Moynes <smoynes@nexus.carleton.ca>
Tue, 6 Aug 2002 23:08:54 +0000 (23:08 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Tue, 6 Aug 2002 23:08:54 +0000 (23:08 +0000)
util/epist/epist.l [new file with mode: 0644]

diff --git a/util/epist/epist.l b/util/epist/epist.l
new file mode 100644 (file)
index 0000000..6e3914c
--- /dev/null
@@ -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]+              /* */
+%%
+
This page took 0.022582 seconds and 4 git commands to generate.