]> iEval git - filters.git/blobdiff - cockney.l
update
[filters.git] / cockney.l
index e6c0bdae91e4d1a25cdf7b96c064453dab24ce77..4cc1555dc2ff75c9096bba477586bd997258fc23 100644 (file)
--- a/cockney.l
+++ b/cockney.l
@@ -15,7 +15,15 @@ EW [ \t.,;!\?$]
 
 %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);
@@ -89,15 +97,15 @@ ime{EW}                     {       printf("oime"); eos(); }
 
 %%
 
-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]);
 }
This page took 0.020354 seconds and 4 git commands to generate.