openbox/util/epist/epist.l
Scott Moynes bd05f7ec58 uber patch.
Added configuration options.
Added workspace grid changing.
Added keychain timeouts.
Fixed some whitespace.
2002-08-21 00:27:16 +00:00

31 lines
689 B
Text

%{
#include <stdio.h>
#include <string.h>
#include "yacc_parser.hh"
extern YYSTYPE yylval;
%}
%%
\{ return OBRACE;
\} return EBRACE;
; return SEMICOLON;
- return DASH;
Options |
options return OPTIONS;
Mod1 |
Mod2 |
Mod3 |
Mod4 |
Control |
Shift yylval = (int) strdup(yytext); return BINDING;
[0-9]+ yylval = (int) strdup(yytext); return NUMBER;
\".+\" yylval = (int) strdup(yytext); return QUOTES;
[a-zA-Z_0-9]+ yylval = (int) strdup(yytext); return WORD;
#.+\n /* ignore */
\n /* ignore */
[ \t]+ /* */
%%