%{
#include "gram.tab.h"
void checkF( char *h ){ fprintf(stderr,"[%s%s]", h, yytext); }
%}
D [0-9]
I2 {D}{2}
H [0-9A-Fa-f]
H3 {H}{3}
S [ ]+
AN [A-Za-z][A-Za-z0-9]*
%%
"
"[^<]*"" { checkF("TITLE"); return TITLE; }
""[^<]*"" { checkF("DESC"); return DESC; }
"" { checkF("G_END"); return G_END; }
"" { checkF("SVG_END"); return SVG_END; }
"/>" { checkF("TAG_CL"); return TAG_CL; }
"