%{ #include "expr-unambig.tab.h" %} %option noyywrap %option nodefault %% "+" | "*" | "(" | ")" { return *yytext; } [[:alpha:]][[:alnum:]]* { return ID; } [ \t]+ /* ueberspringe White-Space */ \n { return 0; /* Nur eine Zeile lesen. */ } . { return ILLEGAL_CHAR; }