%{
#include <stdio.h>
#include <stdlib.h>
%}
ziffer [0-9]
letter [a-zA-Z]
sign [+-]
zeichen [_]
%%
{letter}({letter}|{ziffer}|{zeichen})* {printf("Bezeichner gefunden! Name=%s \n",yytext); }
%%
yywrap()
{
 return 0;
};

void main()
{
 do { yylex (); } 
 while (! feof(stdin));
}
