%{ #include "ka.tab.h" %} %option noyywrap %option nodefault %% "(" | ")" | "[" | "]" | "{" | "}" | "<" | ">" { return *yytext; } . { return BUCHSTABE; } \n { return 0; /* Nur eine Zeile lesen. */ }