1 %option never-interactive
2 %option noyywrap
3 %%
4 void							return DSO_VOID;
5 float							return DSO_FLOAT;
6 vector							return DSO_VECTOR;
7 normal							return DSO_NORMAL;
8 point							return DSO_POINT;
9 color							return DSO_COLOR;
10 matrix							return DSO_MATRIX;
11 string							return DSO_STRING;
12 output							;
13 \(								return DSO_OPEN;
14 \)								return DSO_CLOSE;
15 [a-zA-Z0-9\_]+					{	yylval.string	=	strdup(yytext);	return DSO_TEXT;	}
16 \,								return DSO_COMMA;
17 [\n\t ]							;
18 
19 %%
20 
21