%Start junk
+%option noyywrap
+
%%
+
+%{
+void eos();
+void plastc();
+%}
+
<junk>. { srandom(time(0L)); unput(yytext[0]); BEGIN 0; }
{BW}[Tt]he{EW} { ECHO; bloody(); }
{BW}[Ss]teal{EW} { printf("%c%cick",yytext[0],yytext[1]-5);
%%
-eos()
+void eos()
{
if (yytext[yyleng-1] == '.')
- dintI();
+ dintI();
else
- unput(yytext[yyleng-1]);
+ unput(yytext[yyleng-1]);
}
-plastc()
+void plastc()
{
unput(yytext[yyleng-1]);
}