diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-13 07:18:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-13 07:18:28 +0000 |
| commit | 5cf61ee02354c1c9f80c11f3796afc4b948055d6 (patch) | |
| tree | 5530ecca55e11cc74e57db07d750447c7107f8ed /openbox/parse.l | |
| parent | fb1696659672386bcfc0f753b67f9eeda74e93b9 (diff) | |
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
Diffstat (limited to 'openbox/parse.l')
| -rw-r--r-- | openbox/parse.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/parse.l b/openbox/parse.l index 4dcdc2ca..64896e07 100644 --- a/openbox/parse.l +++ b/openbox/parse.l @@ -4,7 +4,7 @@ # include <stdlib.h> #endif -int yylineno = 1; +extern int lineno; %} real [-0-9][0-9]*\.[0-9]+ @@ -15,9 +15,9 @@ bool ([tT][rR][uU][eE]|[fF][aA][lL][sS][eE]|[yY][eE][sS]|[nN][oO]|[oO][nN]|[oO][ %% -^[ \t]*#.*\n /* comment */ { ++yylineno; } +^[ \t]*#.*\n /* comment */ { ++lineno; } ^[ \t]*#.* /* comment */ -^[ \t]*\n /* empty lines */ { ++yylineno; } +^[ \t]*\n /* empty lines */ { ++lineno; } [ \t] /* whitespace */ {real} { yylval.real = atof(yytext); return REAL; } {integer} { yylval.integer = atoi(yytext); return INTEGER; } |
